By geek-merlin on
Change record status:
Draft (View all draft change records)
Project:
Introduced in branch:
3.x
Introduced in version:
3.0.0-rc18
Issue links:
Description:
The EntityInlineForm class has a new $theme_manager constructor argument. Classes that extend this must update accordingly.
Or even better: Code constructor argument independent. Example:
MyClass extends EntityInlineForm {
protected $myDependency;
public static function createInstance(ContainerInterface $container, EntityTypeInterface $entity_type) {
$instance = parent::createInstance($container, $entity_type);
$this->myDependency = $container->get('my_dependency');
return $instance;
}
Impacts:
Module developers