class 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
70 string references to 'Field'
- AggregatorTitleTest::setUp in core/
modules/ aggregator/ tests/ src/ Kernel/ AggregatorTitleTest.php - BookPendingRevisionTest::setUp in core/
modules/ book/ tests/ src/ Kernel/ BookPendingRevisionTest.php - BookUninstallTest::setUp in core/
modules/ book/ tests/ src/ Kernel/ BookUninstallTest.php - 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.
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 | Overriden Title | Overrides |
---|---|---|---|---|---|
Field::__construct | public | function | Field constructor. | ||
PluginBase::$configuration | protected | property | Configuration information passed into the plugin. | 1 | |
PluginBase::$pluginDefinition | protected | property | The plugin implementation definition. | 1 | |
PluginBase::$pluginId | protected | property | The plugin_id. | ||
PluginBase::DERIVATIVE_SEPARATOR | constant | A string which is used to separate base plugin IDs from the derivative ID. | |||
PluginBase::getBaseId | public | function | Gets the base_plugin_id of the plugin instance. | Overrides DerivativeInspectionInterface::getBaseId | |
PluginBase::getDerivativeId | public | function | Gets the derivative_id of the plugin instance. | Overrides DerivativeInspectionInterface::getDerivativeId | |
PluginBase::getPluginDefinition | public | function | Gets the definition of the plugin implementation. | Overrides PluginInspectionInterface::getPluginDefinition | 3 |
PluginBase::getPluginId | public | function | Gets the plugin_id of the plugin instance. | Overrides PluginInspectionInterface::getPluginId | |
PluginBase::isConfigurable | public | function | Determines if the plugin is configurable. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.