class Field
Same name and namespace in other branches
- 10 core/modules/field/src/Plugin/migrate/source/d6/Field.php \Drupal\field\Plugin\migrate\source\d6\Field
- 10 core/modules/field/src/Plugin/migrate/source/d7/Field.php \Drupal\field\Plugin\migrate\source\d7\Field
- 11.x core/modules/field/src/Plugin/migrate/source/d6/Field.php \Drupal\field\Plugin\migrate\source\d6\Field
- 11.x core/modules/field/src/Plugin/migrate/source/d7/Field.php \Drupal\field\Plugin\migrate\source\d7\Field
A stub class to provide backward compatibility for EntityField.
Hierarchy
- class \Drupal\views\Plugin\views\field\Field
Expanded class hierarchy of Field
Deprecated
in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\views\Plugin\views\field\EntityField instead.
See also
https://www.drupal.org/node/3089106
43 string references to 'Field'
- CKEditorIntegrationTest::testAlt in core/
modules/ media/ tests/ src/ FunctionalJavascript/ CKEditorIntegrationTest.php - Tests the EditorMediaDialog can set the alt attribute.
- CKEditorIntegrationTest::testTranslationAlt in core/
modules/ media/ tests/ src/ FunctionalJavascript/ CKEditorIntegrationTest.php - Test that dialog loads appropriate translation's alt text.
- CommentUpdateTest::testCommentEntityTypeAndFieldNameRequired in core/
modules/ comment/ tests/ src/ Functional/ Update/ CommentUpdateTest.php - Tests whether the 'entity_type' and 'field_name' columns are required.
- drupal-8.views-entity-views-data-2455125.yml in core/
modules/ system/ tests/ fixtures/ update/ drupal-8.views-entity-views-data-2455125.yml - core/modules/system/tests/fixtures/update/drupal-8.views-entity-views-data-2455125.yml
- drupal-8.views-entity-views-data-2846614.yml in core/
modules/ system/ tests/ fixtures/ update/ drupal-8.views-entity-views-data-2846614.yml - core/modules/system/tests/fixtures/update/drupal-8.views-entity-views-data-2846614.yml
File
-
core/
modules/ views/ src/ Plugin/ views/ field/ Field.php, line 21
Namespace
Drupal\views\Plugin\views\fieldView source
class Field extends EntityField {
/**
* Field constructor.
*/
public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityTypeManagerInterface $entity_type_manager, FormatterPluginManager $formatter_plugin_manager, FieldTypePluginManagerInterface $field_type_plugin_manager, LanguageManagerInterface $language_manager, RendererInterface $renderer, EntityRepositoryInterface $entity_repository = NULL, EntityFieldManagerInterface $entity_field_manager = NULL) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $entity_type_manager, $formatter_plugin_manager, $field_type_plugin_manager, $language_manager, $renderer);
@trigger_error(__CLASS__ . ' is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \\Drupal\\views\\Plugin\\views\\field\\EntityField instead. See https://www.drupal.org/node/3089106', E_USER_DEPRECATED);
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
Field::__construct | public | function | Field constructor. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.