upgrades core to 8.4.2
This commit is contained in:
@@ -222,7 +222,7 @@ abstract class ListItemBase extends FieldItemBase implements OptionsProviderInte
|
||||
* @return string
|
||||
* The error message if the specified value is invalid, NULL otherwise.
|
||||
*/
|
||||
protected static function validateAllowedValue($option) { }
|
||||
protected static function validateAllowedValue($option) {}
|
||||
|
||||
/**
|
||||
* Generates a string representation of an array of 'allowed values'.
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace Drupal\options\Plugin\migrate\field\d7;
|
||||
|
||||
use Drupal\migrate_drupal\Plugin\migrate\field\FieldPluginBase;
|
||||
|
||||
/**
|
||||
* @MigrateField(
|
||||
* id = "list",
|
||||
* type_map = {
|
||||
* "list_boolean" = "boolean",
|
||||
* "list_integer" = "list_integer",
|
||||
* "list_text" = "list_string",
|
||||
* },
|
||||
* core = {7}
|
||||
* )
|
||||
*/
|
||||
class ListField extends FieldPluginBase {}
|
||||
Reference in New Issue
Block a user