class ListField

Same name in this branch
  1. 8.9.x core/modules/options/src/Plugin/views/filter/ListField.php \Drupal\options\Plugin\views\filter\ListField
Same name in other branches
  1. 9 core/modules/options/src/Plugin/views/filter/ListField.php \Drupal\options\Plugin\views\filter\ListField
  2. 9 core/modules/options/src/Plugin/migrate/field/d7/ListField.php \Drupal\options\Plugin\migrate\field\d7\ListField
  3. 10 core/modules/options/src/Plugin/views/filter/ListField.php \Drupal\options\Plugin\views\filter\ListField
  4. 10 core/modules/options/src/Plugin/migrate/field/d7/ListField.php \Drupal\options\Plugin\migrate\field\d7\ListField
  5. 11.x core/modules/options/src/Plugin/views/filter/ListField.php \Drupal\options\Plugin\views\filter\ListField
  6. 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

Expanded class hierarchy of ListField

File

core/modules/options/src/Plugin/migrate/field/d7/ListField.php, line 21

Namespace

Drupal\options\Plugin\migrate\field\d7
View source
class ListField extends FieldPluginBase {

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.