1 | <?php |
||
28 | class Alias extends FieldPluginBase implements ContainerFactoryPluginInterface { |
||
|
|||
29 | use DependencySerializationTrait; |
||
30 | |||
31 | /** |
||
32 | * Instance of an alias manager. |
||
33 | * |
||
34 | * @var \Drupal\Core\Path\AliasManagerInterface |
||
35 | */ |
||
36 | protected $aliasManager; |
||
37 | |||
38 | /** |
||
39 | * The language manager service. |
||
40 | * |
||
41 | * @var \Drupal\Core\Language\LanguageManagerInterface |
||
42 | */ |
||
43 | protected $languageManager; |
||
44 | |||
45 | /** |
||
46 | * Alias constructor. |
||
47 | * |
||
48 | * @param array $configuration |
||
49 | * The plugin configuration array. |
||
50 | * @param string $pluginId |
||
51 | * The plugin id. |
||
52 | * @param mixed $pluginDefinition |
||
53 | * The plugin definition. |
||
54 | * @param \Drupal\Core\Path\AliasManagerInterface $aliasManager |
||
55 | * The alias manager service. |
||
56 | * @param \Drupal\Core\Language\LanguageManagerInterface $languageManager |
||
57 | * The language manager service. |
||
58 | */ |
||
59 | public function __construct( |
||
70 | |||
71 | /** |
||
72 | * {@inheritdoc} |
||
73 | */ |
||
74 | public static function create(ContainerInterface $container, array $configuration, $pluginId, $pluginDefinition) { |
||
83 | |||
84 | /** |
||
85 | * {@inheritdoc} |
||
86 | */ |
||
87 | public function resolveValues($value, array $args, ResolveInfo $info) { |
||
100 | |||
101 | } |
||
102 |