1 | <?php |
||
23 | class LanguageSwitchLinks extends FieldPluginBase implements ContainerFactoryPluginInterface { |
||
|
|||
24 | |||
25 | /** |
||
26 | * The language manager. |
||
27 | * |
||
28 | * @var \Drupal\Core\Language\LanguageManagerInterface |
||
29 | */ |
||
30 | protected $languageManager; |
||
31 | |||
32 | /** |
||
33 | * {@inheritdoc} |
||
34 | */ |
||
35 | public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) { |
||
38 | |||
39 | /** |
||
40 | * {@inheritdoc} |
||
41 | */ |
||
42 | public function __construct(array $configuration, $pluginId, $pluginDefinition, LanguageManagerInterface $languageManager) { |
||
46 | |||
47 | /** |
||
48 | * {@inheritdoc} |
||
49 | */ |
||
50 | protected function resolveValues($value, array $args, ResolveInfo $info) { |
||
72 | |||
73 | } |
||
74 |