1 | <?php |
||
28 | class Breadcrumbs extends FieldPluginBase implements ContainerFactoryPluginInterface { |
||
|
|||
29 | |||
30 | /** |
||
31 | * The subrequest buffer service. |
||
32 | * |
||
33 | * @var \Drupal\graphql\GraphQL\Buffers\SubRequestBuffer |
||
34 | */ |
||
35 | protected $subRequestBuffer; |
||
36 | |||
37 | /** |
||
38 | * The breadcrumb manager service. |
||
39 | * |
||
40 | * @var \Drupal\Core\Breadcrumb\BreadcrumbBuilderInterface |
||
41 | */ |
||
42 | protected $breadcrumbManager; |
||
43 | |||
44 | /** |
||
45 | * The current route match. |
||
46 | * |
||
47 | * @var \Drupal\Core\Routing\RouteMatchInterface |
||
48 | */ |
||
49 | protected $routeMatch; |
||
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | public static function create(ContainerInterface $container, array $configuration, $pluginId, $pluginDefinition) { |
||
64 | |||
65 | /** |
||
66 | * {@inheritdoc} |
||
67 | */ |
||
68 | public function __construct( |
||
81 | |||
82 | /** |
||
83 | * {@inheritdoc} |
||
84 | */ |
||
85 | protected function resolveValues($value, array $args, ResolveInfo $info) { |
||
100 | |||
101 | } |
||
102 |