Deprecated in Plugin 8.2
Primary tabs
Name | Location | Type | Deprecation | Direct uses | Namespaced uses | Overrides | Use statements |
---|---|---|---|---|---|---|---|
ArrayPluginDefinitionInterface |
src/ |
interface | Deprecated as of 8.0.0. Do not rely on array plugin definitions. | 1 | |||
PluginCollectionItemInterface:: |
src/ |
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:: |
src/ |
function | Deprecated as of 8.x-2.0 and scheduled for removal before 8.x-3.0. Use static::getContainedPluginInstance()->getConfiguration() instead. | 1 | |||
PluginCollectionItemInterface:: |
src/ |
function | Deprecated as of 8.x-2.0 and scheduled for removal before 8.x-3.0. Use static::getContainedPluginInstance()->getPluginId() instead. | 1 | |||
PluginCollectionItemInterface:: |
src/ |
function | Deprecated as of 8.x-2.0 and scheduled for removal before 8.x-3.0. Use static::getContainedPluginInstance()->setConfiguration() instead. | 1 | |||
PluginCollectionItemInterface:: |
src/ |
function | Deprecated as of 8.x-2.0 and scheduled for removal before 8.x-3.0. Use static::setContainedPluginInstance(). | 1 | |||
PluginCollectionItemInterface:: |
src/ |
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/ |
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 |