Introduction.php in CMS Content Sync 8
Namespace
Drupal\cms_content_sync\ControllerFile
src/Controller/Introduction.phpView source
<?php
namespace Drupal\cms_content_sync\Controller;
use Drupal\cms_content_sync\Plugin\Type\EntityHandlerPluginManager;
use Drupal\Core\Controller\ControllerBase;
/**
* Class Introduction provides a static page describing how
* Content Sync can be used.
*/
class Introduction extends ControllerBase {
/**
* @return array the content array to theme the introduction
*/
public function content() {
return [
'#supported_entity_types' => EntityHandlerPluginManager::getEntityTypes(),
'#theme' => 'cms_content_sync_introduction',
];
}
}
Classes
Name | Description |
---|---|
Introduction | Class Introduction provides a static page describing how Content Sync can be used. |