public function CoreFieldBuilder::__construct in Diff 8
Constructs a CoreFieldBuilder object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
\Drupal\Core\Config\ConfigFactoryInterface $config: The configuration factory object.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\diff\DiffEntityParser $entity_parser: The entity parser.
\Drupal\Core\Render\RendererInterface $renderer: The renderer.
Overrides FieldDiffBuilderBase::__construct
File
- src/
Plugin/ diff/ Field/ CoreFieldBuilder.php, line 52
Class
- CoreFieldBuilder
- Plugin to diff core field types.
Namespace
Drupal\diff\Plugin\diff\FieldCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityTypeManagerInterface $entity_type_manager, DiffEntityParser $entity_parser, RendererInterface $renderer) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $entity_type_manager, $entity_parser);
$this->renderer = $renderer;
}