You are here

public function Compatibility::content in CMS Content Sync 2.1.x

Same name and namespace in other branches
  1. 2.0.x src/Controller/Compatibility.php \Drupal\cms_content_sync\Controller\Compatibility::content()

Return value

array the content array to theme the compatibility tables

1 string reference to 'Compatibility::content'
cms_content_sync.routing.yml in ./cms_content_sync.routing.yml
cms_content_sync.routing.yml

File

src/Controller/Compatibility.php, line 17

Class

Compatibility
Class Compatibility provides details about entity types and field types used on this site and whether or not we support them.

Namespace

Drupal\cms_content_sync\Controller

Code

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