@trigger_error(__METHOD__.'() is deprecated in drupal:11.1.0 and is removed from drupal:12.0.0. There is no replacement. See https://www.drupal.org/node/3476110',E_USER_DEPRECATED);
@trigger_error(__METHOD__.'() is deprecated in drupal:11.1.0 and is removed from drupal:12.0.0. There is no replacement. See https://www.drupal.org/node/3476110',E_USER_DEPRECATED);
$message=$message?:newFormattableMarkup('Option @option for field @id is selected.',['@option'=>$option,'@id'=>$id]);
@trigger_error(__METHOD__.'() is deprecated in drupal:11.1.0 and is removed from drupal:12.0.0. There is no replacement. See https://www.drupal.org/node/3476110',E_USER_DEPRECATED);
$message=$message?:newFormattableMarkup('Option @option for field @data_drupal_selector is selected.',['@option'=>$option,'@data_drupal_selector'=>$drupal_selector]);
@trigger_error(__METHOD__.'() is deprecated in drupal:11.1.0 and is removed from drupal:12.0.0. There is no replacement. See https://www.drupal.org/node/3476110',E_USER_DEPRECATED);
$message=$message?:newFormattableMarkup('Option @option for field @id is not selected.',['@option'=>$option,'@id'=>$id]);
#[TestWith([FALSE, 42, "The mapping definition at `foobar` is invalid: its `invalid` key contains a integer. It must be an array."])]
#[TestWith([FALSE, 10.2, "The mapping definition at `foobar` is invalid: its `invalid` key contains a double. It must be an array."])]
#[TestWith([FALSE, "type", "The mapping definition at `foobar` is invalid: its `invalid` key contains a string. It must be an array."])]
@@ -522,6 +523,7 @@ public static function providerMappingInterpretation(): \Generator {
#[TestWith([TRUE, 10.2, "The mapping definition at `my_module.settings:foobar` is invalid: its `invalid` key contains a double. It must be an array."])]
#[TestWith([TRUE, "type", "The mapping definition at `my_module.settings:foobar` is invalid: its `invalid` key contains a string. It must be an array."])]
#[TestWith([TRUE, FALSE, "The mapping definition at `my_module.settings:foobar` is invalid: its `invalid` key contains a boolean. It must be an array."])]
$this->expectExceptionMessage("The plugins 'entity_method:config_test.dynamic:setProtectedProperty' and 'config_action_duplicate_test:config_test.dynamic:setProtectedProperty' both resolve to the same shorthand action ID for the 'config_test' entity type");