class ListField
Same name in this branch
- 9 core/modules/options/src/Plugin/views/filter/ListField.php \Drupal\options\Plugin\views\filter\ListField
Same name in other branches
- 8.9.x core/modules/options/src/Plugin/views/filter/ListField.php \Drupal\options\Plugin\views\filter\ListField
- 8.9.x core/modules/options/src/Plugin/migrate/field/d7/ListField.php \Drupal\options\Plugin\migrate\field\d7\ListField
- 10 core/modules/options/src/Plugin/views/filter/ListField.php \Drupal\options\Plugin\views\filter\ListField
- 10 core/modules/options/src/Plugin/migrate/field/d7/ListField.php \Drupal\options\Plugin\migrate\field\d7\ListField
- 11.x core/modules/options/src/Plugin/views/filter/ListField.php \Drupal\options\Plugin\views\filter\ListField
- 11.x core/modules/options/src/Plugin/migrate/field/d7/ListField.php \Drupal\options\Plugin\migrate\field\d7\ListField
Plugin annotation
@MigrateField(
id = "list",
type_map = {
"list_boolean" = "boolean",
"list_integer" = "list_integer",
"list_text" = "list_string",
"list_float" = "list_float",
},
core = {7},
source_module = "list",
destination_module = "options"
)
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements \Drupal\Component\Plugin\PluginInspectionInterface, \Drupal\Component\Plugin\DerivativeInspectionInterface
- class \Drupal\Core\Plugin\PluginBase extends \Drupal\Component\Plugin\PluginBase uses \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait
- class \Drupal\migrate_drupal\Plugin\migrate\field\FieldPluginBase extends \Drupal\Core\Plugin\PluginBase implements \Drupal\migrate_drupal\Plugin\MigrateFieldInterface
- class \Drupal\options\Plugin\migrate\field\d7\ListField extends \Drupal\migrate_drupal\Plugin\migrate\field\FieldPluginBase
- class \Drupal\migrate_drupal\Plugin\migrate\field\FieldPluginBase extends \Drupal\Core\Plugin\PluginBase implements \Drupal\migrate_drupal\Plugin\MigrateFieldInterface
- class \Drupal\Core\Plugin\PluginBase extends \Drupal\Component\Plugin\PluginBase uses \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait
Expanded class hierarchy of ListField
File
-
core/
modules/ options/ src/ Plugin/ migrate/ field/ d7/ ListField.php, line 21
Namespace
Drupal\options\Plugin\migrate\field\d7View source
class ListField extends FieldPluginBase {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.