@trigger_error('A layout plugin not having at least one of the label or deriver properties is deprecated in drupal:11.4.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);
@@ -94,17 +94,30 @@ public function processDefinition(&$definition, $plugin_id) {
thrownewInvalidPluginDefinitionException($plugin_id,sprintf('The "%s" layout definition must extend %s',$plugin_id,LayoutDefinition::class));
}
// Add the module or theme path to the 'path'.
if(empty($definition->getLabel())){
@trigger_error('A layout plugin not having a label is deprecated in drupal:11.4.0 and having a label will be enforced in drupal:12.0.0. See https://www.drupal.org/node/3464076',E_USER_DEPRECATED);
$this->expectDeprecation('A layout plugin not having at least one of the label or deriver properties is deprecated in drupal:11.4.0 and having at least one of these properties will be enforced in drupal:12.0.0. See https://www.drupal.org/node/3464076');
$this->expectDeprecation('A layout plugin not having a label is deprecated in drupal:11.4.0 and having a label will be enforced in drupal:12.0.0. See https://www.drupal.org/node/3464076');