1 | <?php |
||
29 | class Route extends FieldPluginBase implements ContainerFactoryPluginInterface { |
||
30 | |||
31 | /** |
||
32 | * The path validator service. |
||
33 | * |
||
34 | * @var \Drupal\Core\Path\PathValidatorInterface |
||
35 | */ |
||
36 | protected $pathValidator; |
||
37 | |||
38 | /** |
||
39 | * {@inheritdoc} |
||
40 | */ |
||
41 | public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) { |
||
49 | |||
50 | /** |
||
51 | * Route constructor. |
||
52 | * |
||
53 | * @param array $configuration |
||
54 | * The plugin configuration. |
||
55 | * @param string $pluginId |
||
56 | * The plugin id. |
||
57 | * @param mixed $pluginDefinition |
||
58 | * The plugin definition. |
||
59 | * @param \Drupal\Core\Path\PathValidatorInterface $pathValidator |
||
60 | * The path validator service. |
||
61 | */ |
||
62 | public function __construct(array $configuration, $pluginId, $pluginDefinition, PathValidatorInterface $pathValidator) { |
||
66 | |||
67 | /** |
||
68 | * {@inheritdoc} |
||
69 | */ |
||
70 | public function resolveValues($value, array $args, ResolveContext $context, ResolveInfo $info) { |
||
78 | |||
79 | } |
||
80 |