public function EntityOperationDeriver::__construct in Drupal 7 to 8/9 Module Upgrader 8
Overrides DeriverBase::__construct
File
- src/
Plugin/ DMU/ Converter/ Functions/ EntityOperationDeriver.php, line 20
Class
- EntityOperationDeriver
- Builds derivative definitions for the _entity_operation plugin, allowing us to rewrite calls to things like entity_save(), node_delete(), entity_label(), etc.
Namespace
Drupal\drupalmoduleupgrader\Plugin\DMU\Converter\FunctionsCode
public function __construct(TranslationInterface $translator, array $config) {
parent::__construct($translator);
$this->config = $config;
}