public static function Parents::create in Content Synchronization 8.2
Same name and namespace in other branches
- 3.0.x src/Plugin/SyncNormalizerDecorator/Parents.php \Drupal\content_sync\Plugin\SyncNormalizerDecorator\Parents::create()
Parameters
\Symfony\Component\DependencyInjection\ContainerInterface $container:
array $configuration:
$plugin_id:
$plugin_definition:
Return value
static
Overrides ContainerFactoryPluginInterface::create
File
- src/
Plugin/ SyncNormalizerDecorator/ Parents.php, line 37
Class
- Parents
- Plugin annotation @SyncNormalizerDecorator( id = "parents", name = @Translation("Parents"), )
Namespace
Drupal\content_sync\Plugin\SyncNormalizerDecoratorCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new static($configuration, $plugin_id, $plugin_definition, $container
->get('entity_type.manager'));
}