public function EntityHandlerPluginManager::getInstance in CMS Content Sync 8
Same name and namespace in other branches
- 2.1.x src/Plugin/Type/EntityHandlerPluginManager.php \Drupal\cms_content_sync\Plugin\Type\EntityHandlerPluginManager::getInstance()
- 2.0.x src/Plugin/Type/EntityHandlerPluginManager.php \Drupal\cms_content_sync\Plugin\Type\EntityHandlerPluginManager::getInstance()
Overrides PluginManagerBase::getInstance
Deprecated
in Drupal 8.2.0. Use Drupal\rest\Plugin\Type\ResourcePluginManager::createInstance() instead.
See also
https://www.drupal.org/node/2874934
File
- src/
Plugin/ Type/ EntityHandlerPluginManager.php, line 225
Class
- EntityHandlerPluginManager
- Manages discovery and instantiation of entity handler plugins.
Namespace
Drupal\cms_content_sync\Plugin\TypeCode
public function getInstance(array $options) {
if (isset($options['id'])) {
return $this
->createInstance($options['id']);
}
return null;
}