concrete/src/Entity/File/Version.php
public function updateTags($tags)
    {
        $app = Application::getFacadeApplication();
        $tags = self::cleanTags($tags);
        $this->fvTags = $tags;
        $this->save();
        $this->logVersionUpdate(self::UT_TAGS);
        $fve = new FileVersionEvent($this);
        $app->make(EventDispatcherInterface::class)->dispatch('on_file_version_update_tags', $fve);
    }
public function updateTags($tags)
    {
        $app = Application::getFacadeApplication();
        $tags = self::cleanTags($tags);
        $this->fvTags = $tags;
        $this->save();
        $this->logVersionUpdate(self::UT_TAGS);
        $fve = new FileVersionEvent($this);
        $app->make(EventDispatcherInterface::class)->dispatch('on_file_version_update_tags', $fve);
    }
public function updateTags ( $ tags ) { $ app = Application :: getFacadeApplication ( ) ; $ tags = self :: cleanTags ( $ tags ) ; $ this -> fvTags = $ tags ; $ this -> save ( ) ; $ this -> logVersionUpdate ( self :: UT_TAGS ) ; $ fve = new FileVersionEvent ( $ this ) ; $ app -> make ( EventDispatcherInterface :: class ) -> dispatch ( 'on_file_version_update_tags' , $ fve ) ; }
Update the tags associated to the file.

@param string $tags List of tags separated by newlines and/or commas
Update the tags associated to the file .