You are here

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'
cms_content_sync.routing.yml in ./cms_content_sync.routing.yml
cms_content_sync.routing.yml

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\Controller

Code

public function content() {
  return [
    '#supported_entity_types' => EntityHandlerPluginManager::getEntityTypes(),
    '#theme' => 'cms_content_sync_introduction',
  ];
}