public function Node::__construct in Freelinking 4.0.x
Same name and namespace in other branches
- 8.3 src/Plugin/freelinking/Node.php \Drupal\freelinking\Plugin\freelinking\Node::__construct()
Initialize method.
Parameters
array $configuration: The configuration array.
string $plugin_id: The plugin identifier.
array $plugin_definition: The plugin definition array.
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.
Overrides PluginBase::__construct
File
- src/
Plugin/ freelinking/ Node.php, line 48
Class
- Node
- Node ID freelinking plugin.
Namespace
Drupal\freelinking\Plugin\freelinkingCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityTypeManagerInterface $entityTypeManager) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->entityTypeManager = $entityTypeManager;
}