You are here

public static function Alias::create in Content Synchronization 3.0.x

Same name and namespace in other branches
  1. 8.2 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\SyncNormalizerDecorator

Code

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'));
}