public function provideI18nEntities()
    {
        $entities = parent::provideI18nEntities();

        // Add optional description
        $description = $this->classDescription();
        if ($description) {
            $entities[static::class . '.DESCRIPTION'] = $description;
        }
        return $entities;
    }
public function provideI18nEntities()
    {
        $entities = parent::provideI18nEntities();

        // Add optional description
        $description = $this->classDescription();
        if ($description) {
            $entities[static::class . '.DESCRIPTION'] = $description;
        }
        return $entities;
    }
public function provideI18nEntities ( ) { $ entities = parent :: provideI18nEntities ( ) ; // Add optional description $ description = $ this -> classDescription ( ) ; if ( $ description ) { $ entities [ static :: class . '.DESCRIPTION' ] = $ description ; } return $ entities ; }
Overloaded to also provide entities for 'Page' class which is usually located in custom code, hence textcollector
picks it up for the wrong folder.

@return array
Overloaded to also provide entities for Page class which is usually located in custom code hence textcollector picks it up for the wrong folder .