public function Introduction::content in CMS Content Sync 8
Return value
array the content array to theme the introduction
1 string reference to 'Introduction::content'
File
- src/
Controller/ Introduction.php, line 17
Class
- Introduction
- Class Introduction provides a static page describing how Content Sync can be used.
Namespace
Drupal\cms_content_sync\ControllerCode
public function content() {
return [
'#supported_entity_types' => EntityHandlerPluginManager::getEntityTypes(),
'#theme' => 'cms_content_sync_introduction',
];
}