You are here

Deprecated in Plugin 8.2

Primary tabs

Examples: "before Drupal 9", "in Drupal 8.4"
Namesort descending Location Type Deprecation Direct uses Namespaced uses Overrides Use statements
ArrayPluginDefinitionInterface src/PluginDefinition/ArrayPluginDefinitionInterface.php interface Deprecated as of 8.0.0. Do not rely on array plugin definitions. 1
PluginCollectionItemInterface::createContainedPluginInstance src/Plugin/Field/FieldType/PluginCollectionItemInterface.php function Deprecated as of 8.x-2.0 and scheduled for removal before 8.x-3.0. Use static::getPluginType()->getPluginManager()->createInstance() instead. 1
PluginCollectionItemInterface::getContainedPluginConfiguration src/Plugin/Field/FieldType/PluginCollectionItemInterface.php function Deprecated as of 8.x-2.0 and scheduled for removal before 8.x-3.0. Use static::getContainedPluginInstance()->getConfiguration() instead. 1
PluginCollectionItemInterface::getContainedPluginId src/Plugin/Field/FieldType/PluginCollectionItemInterface.php function Deprecated as of 8.x-2.0 and scheduled for removal before 8.x-3.0. Use static::getContainedPluginInstance()->getPluginId() instead. 1
PluginCollectionItemInterface::setContainedPluginConfiguration src/Plugin/Field/FieldType/PluginCollectionItemInterface.php function Deprecated as of 8.x-2.0 and scheduled for removal before 8.x-3.0. Use static::getContainedPluginInstance()->setConfiguration() instead. 1
PluginCollectionItemInterface::setContainedPluginId src/Plugin/Field/FieldType/PluginCollectionItemInterface.php function Deprecated as of 8.x-2.0 and scheduled for removal before 8.x-3.0. Use static::setContainedPluginInstance(). 1
PluginCollectionItemInterface::validatePluginInstance src/Plugin/Field/FieldType/PluginCollectionItemInterface.php function Deprecated as of 8.x-2.0 and scheduled for removal before 8.x-3.0. Use static::getPluginType()->getPluginManager()->hasDefinition() instead. 1
PluginOperationsProviderPluginManagerTrait src/Plugin/PluginOperationsProviderPluginManagerTrait.php trait Deprecated as of Plugin 8.x-2.0-rc2. Scheduled for removal before 8.x-3.0. It is impossible to reliably inspect array plugin definitions. Instead of this trait, follow these steps: 1) Use \Drupal\plugin\PluginType\PluginTypeInterface::ensureTypedDefinition() to make sure the plugin definition is an object. 2) Check if the plugin definition implements \Drupal\plugin\PluginDefinition\PluginOperationsProviderDefinitionInterface. 3) If that is true, call ::getOperationsProviderClass() on the definition. 4) Instantiate the operations provider class using \Drupal\Core\DependencyInjection\ClassResolverInterface::getInstanceFromDefinition(). 1

Other projects