Compatibility.php in CMS Content Sync 2.0.x
Same filename and directory in other branches
Namespace
Drupal\cms_content_sync\ControllerFile
src/Controller/Compatibility.phpView source
<?php
namespace Drupal\cms_content_sync\Controller;
use Drupal\cms_content_sync\Plugin\Type\EntityHandlerPluginManager;
use Drupal\Core\Controller\ControllerBase;
/**
* Class Compatibility provides details about entity types and field types used on this site
* and whether or not we support them.
*/
class Compatibility extends ControllerBase {
/**
* @return array the content array to theme the compatibility tables
*/
public function content() {
return [
'#supported_entity_types' => EntityHandlerPluginManager::getEntityTypes(),
'#theme' => 'cms_content_sync_compatibility',
];
}
}
Classes
Name | Description |
---|---|
Compatibility | Class Compatibility provides details about entity types and field types used on this site and whether or not we support them. |