1 | <?php |
||
23 | class EntityTranslations extends FieldPluginBase implements ContainerFactoryPluginInterface { |
||
|
|||
24 | use DependencySerializationTrait; |
||
25 | |||
26 | /** |
||
27 | * The entity repository service. |
||
28 | * |
||
29 | * @var \Drupal\Core\Entity\EntityRepositoryInterface |
||
30 | */ |
||
31 | protected $entityRepository; |
||
32 | |||
33 | /** |
||
34 | * {@inheritdoc} |
||
35 | */ |
||
36 | public static function create(ContainerInterface $container, array $configuration, $pluginId, $pluginDefinition) { |
||
44 | |||
45 | /** |
||
46 | * EntityTranslations 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 array. |
||
54 | * @param \Drupal\Core\Entity\EntityRepositoryInterface $entityRepository |
||
55 | * The entity repository service. |
||
56 | */ |
||
57 | public function __construct( |
||
66 | |||
67 | /** |
||
68 | * {@inheritdoc} |
||
69 | */ |
||
70 | public function resolveValues($value, array $args, ResolveInfo $info) { |
||
78 | |||
79 | } |
||
80 |