public static function Alias::create in Content Synchronization 8.2
Same name and namespace in other branches
- 3.0.x src/Plugin/SyncNormalizerDecorator/Alias.php \Drupal\content_sync\Plugin\SyncNormalizerDecorator\Alias::create()
Parameters
\Symfony\Component\DependencyInjection\ContainerInterface $container:
array $configuration:
$plugin_id:
$plugin_definition:
Return value
static
Overrides ContainerFactoryPluginInterface::create
File
- src/
Plugin/ SyncNormalizerDecorator/ Alias.php, line 40
Class
- Alias
- Provides a decorator for setting the alias to entity.
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('path_alias.manager'));
}