Update to Drupal 8.0.2. For more information, see https://www.drupal.org/drupal-8.0.2-release-notes
This commit is contained in:
parent
1a0e9d9fac
commit
a6b049dd05
538 changed files with 5247 additions and 1594 deletions
|
@ -22,8 +22,8 @@ use Drupal\Core\StringTranslation\TranslatableMarkup;
|
|||
* plugin configuration during plugin instantiation.
|
||||
*
|
||||
* While core does not prefix constraint plugins, modules have to prefix them
|
||||
* with the module name in order to avoid any naming conflicts. E.g. a "profile"
|
||||
* module would have to prefix any constraints with "Profile".
|
||||
* with the module name in order to avoid any naming conflicts; for example, a
|
||||
* "profile" module would have to prefix any constraints with "Profile".
|
||||
*
|
||||
* Constraint plugins may specify data types to which support is limited via the
|
||||
* 'type' key of plugin definitions. See
|
||||
|
|
|
@ -68,8 +68,8 @@ class AllowedValuesConstraintValidator extends ChoiceValidator implements Contai
|
|||
|
||||
// The parent implementation ignores values that are not set, but makes
|
||||
// sure some choices are available firstly. However, we want to support
|
||||
// empty choices for undefined values, e.g. if a term reference field
|
||||
// points to an empty vocabulary.
|
||||
// empty choices for undefined values; for instance, if a term reference
|
||||
// field points to an empty vocabulary.
|
||||
if (!isset($value)) {
|
||||
return;
|
||||
}
|
||||
|
|
Reference in a new issue