Skip to content
Snippets Groups Projects

Draft: Resolve #3463592 "Require label and"

Open godotislate requested to merge issue/drupal-3463592:3463592-require-label-and into 11.x
Files
3
@@ -100,6 +100,9 @@ public function __construct(
// @see \Drupal\Core\Layout\LayoutDefinition::$additional
// @see \Drupal\Core\Layout\LayoutDefinition::get()
$this->additional = $additional;
if ($this->label === NULL && $this->deriver === NULL) {
@trigger_error('A layout plugin not having at least one of the label or deriver properties is deprecated in drupal:11.1.0 and having at least one of these properties will be enforced in drupal:12.0.0. See https://www.drupal.org/node/3464076', E_USER_DEPRECATED);
}
}
/**
Loading