@@ -297,7 +297,7 @@ protected static function matchEntityByTitle(SelectionInterface $handler, $input
$multiples[]=$name.' ('.$id.')';
}
$params['@id']=$id;
$form_state->setError($element,t('Multiple entities match this reference; "%multiple". Specify the one you want by appending the id in parentheses, like "@value (@id)".',array('%multiple'=>implode('", "',$multiples))));
$form_state->setError($element,t('Multiple entities match this reference; "%multiple". Specify the one you want by appending the id in parentheses, like "@value (@id)".',array('%multiple'=>implode('", "',$multiples))+$params));
$this->assertText(t('Specify the one you want by appending the id in parentheses, like "@example".',['@example'=>$node2->getTitle().' ('.$node2->id().')']));