Search for onDependencyRemoval

  1. Search 7.x for onDependencyRemoval
  2. Search 9.5.x for onDependencyRemoval
  3. Search 10.3.x for onDependencyRemoval
  4. Search 11.x for onDependencyRemoval
  5. Other projects
Title Object type File name Summary
ComplexTestType::onDependencyRemoval function core/modules/workflows/tests/modules/workflow_type_test/src/Plugin/WorkflowType/ComplexTestType.php Informs the plugin that a dependency of the workflow will be deleted.
ConfigDependencies::onDependencyRemoval function core/modules/rest/src/Entity/ConfigDependencies.php Informs the entity that entities it depends on will be deleted.
ConfigDependencies::onDependencyRemovalForMethodGranularity function core/modules/rest/src/Entity/ConfigDependencies.php Informs the entity that entities it depends on will be deleted.
ConfigDependencies::onDependencyRemovalForResourceGranularity function core/modules/rest/src/Entity/ConfigDependencies.php Informs the entity that entities it depends on will be deleted.
ConfigDependenciesTest::providerOnDependencyRemovalForResourceGranularity function core/modules/rest/tests/src/Kernel/Entity/ConfigDependenciesTest.php
ConfigDependenciesTest::testOnDependencyRemovalForResourceGranularity function core/modules/rest/tests/src/Kernel/Entity/ConfigDependenciesTest.php @covers ::onDependencyRemoval
@covers ::onDependencyRemovalForResourceGranularity
ConfigDependenciesTest::testOnDependencyRemovalRemoveAuth function core/modules/rest/tests/src/Kernel/Entity/ConfigDependenciesTest.php @covers ::onDependencyRemoval
@covers ::onDependencyRemovalForMethodGranularity
ConfigDependenciesTest::testOnDependencyRemovalRemoveAuthAndFormats function core/modules/rest/tests/src/Kernel/Entity/ConfigDependenciesTest.php @covers ::onDependencyRemoval
@covers ::onDependencyRemovalForMethodGranularity
ConfigDependenciesTest::testOnDependencyRemovalRemoveFormatForMethodGranularity function core/modules/rest/tests/src/Kernel/Entity/ConfigDependenciesTest.php @covers ::onDependencyRemoval
@covers ::onDependencyRemovalForMethodGranularity
ConfigDependenciesTest::testOnDependencyRemovalRemoveUnrelatedDependency function core/modules/rest/tests/src/Kernel/Entity/ConfigDependenciesTest.php @covers ::onDependencyRemoval
@covers ::onDependencyRemovalForMethodGranularity
@covers ::onDependencyRemovalForResourceGranularity
ConfigEntityBase::onDependencyRemoval function core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php Informs the entity that entities it depends on will be deleted.
ConfigEntityInterface::onDependencyRemoval function core/lib/Drupal/Core/Config/Entity/ConfigEntityInterface.php Informs the entity that entities it depends on will be deleted.
ConfigManager::callOnDependencyRemoval function core/lib/Drupal/Core/Config/ConfigManager.php Calls an entity's onDependencyRemoval() method.
ConfigManager::getConfigEntitiesToChangeOnDependencyRemoval function core/lib/Drupal/Core/Config/ConfigManager.php Lists which config entities to update and delete on removal of a dependency.
ConfigManagerInterface::getConfigEntitiesToChangeOnDependencyRemoval function core/lib/Drupal/Core/Config/ConfigManagerInterface.php Lists which config entities to update and delete on removal of a dependency.
ConfigTest::onDependencyRemoval function core/modules/config/tests/config_test/src/Entity/ConfigTest.php Informs the entity that entities it depends on will be deleted.
ContentModeration::onDependencyRemoval function core/modules/content_moderation/src/Plugin/WorkflowType/ContentModeration.php Informs the plugin that a dependency of the workflow will be deleted.
DependencyFieldItem::onDependencyRemoval function core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php
DependentWithRemovalPluginInterface::onDependencyRemoval function core/modules/views/src/Plugin/DependentWithRemovalPluginInterface.php Allows a plugin to define whether it should be removed.
EntityDisplayBase::onDependencyRemoval function core/lib/Drupal/Core/Entity/EntityDisplayBase.php Informs the entity that entities it depends on will be deleted.
EntityDisplayBaseTest::testOnDependencyRemoval function core/tests/Drupal/KernelTests/Core/Entity/EntityDisplayBaseTest.php @covers ::onDependencyRemoval
EntityDisplayTest::testOnDependencyRemoval function core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php Tests \Drupal\Core\Entity\EntityDisplayBase::onDependencyRemoval().
EntityField::onDependencyRemoval function core/modules/views/src/Plugin/views/field/EntityField.php Allows a plugin to define whether it should be removed.
EntityFormDisplayTest::testOnDependencyRemoval function core/modules/field_ui/tests/src/Kernel/EntityFormDisplayTest.php Tests \Drupal\Core\Entity\EntityDisplayBase::onDependencyRemoval().
EntityReferenceItem::onDependencyRemoval function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/EntityReferenceItem.php Informs the plugin that a dependency of the field will be deleted.
FieldConfigBase::onDependencyRemoval function core/lib/Drupal/Core/Field/FieldConfigBase.php Informs the entity that entities it depends on will be deleted.
FieldConfigEntityUnitTest::testOnDependencyRemoval function core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php @covers ::onDependencyRemoval
FieldItemBase::onDependencyRemoval function core/lib/Drupal/Core/Field/FieldItemBase.php Informs the plugin that a dependency of the field will be deleted.
FieldItemInterface::onDependencyRemoval function core/lib/Drupal/Core/Field/FieldItemInterface.php Informs the plugin that a dependency of the field will be deleted.
FilterFormat::onDependencyRemoval function core/modules/filter/src/Entity/FilterFormat.php Informs the entity that entities it depends on will be deleted.
ImageFormatter::onDependencyRemoval function core/modules/image/src/Plugin/Field/FieldFormatter/ImageFormatter.php Informs the plugin that some configuration it depends on will be deleted.
ImageWidget::onDependencyRemoval function core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php Informs the plugin that some configuration it depends on will be deleted.
LayoutBuilderEntityViewDisplay::onDependencyRemoval function core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php Informs the entity that entities it depends on will be deleted.
ModerationStateFilter::onDependencyRemoval function core/modules/content_moderation/src/Plugin/views/filter/ModerationStateFilter.php Allows a plugin to define whether it should be removed.
PluginSettingsBase::onDependencyRemoval function core/lib/Drupal/Core/Field/PluginSettingsBase.php Informs the plugin that some configuration it depends on will be deleted.
PluginSettingsInterface::onDependencyRemoval function core/lib/Drupal/Core/Field/PluginSettingsInterface.php Informs the plugin that some configuration it depends on will be deleted.
RestResourceConfig::onDependencyRemoval function core/modules/rest/src/Entity/RestResourceConfig.php Informs the entity that entities it depends on will be deleted.
TestFieldWidget::onDependencyRemoval function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldWidget/TestFieldWidget.php Informs the plugin that some configuration it depends on will be deleted.
View::onDependencyRemoval function core/modules/views/src/Entity/View.php Informs the entity that entities it depends on will be deleted.
ViewUI::onDependencyRemoval function core/modules/views_ui/src/ViewUI.php Informs the entity that entities it depends on will be deleted.
Workflow::onDependencyRemoval function core/modules/workflows/src/Entity/Workflow.php Informs the entity that entities it depends on will be deleted.
WorkflowDependenciesTest::testOnDependencyRemoval function core/modules/workflows/tests/src/Kernel/WorkflowDependenciesTest.php Tests \Drupal\workflows\Entity\Workflow::onDependencyRemoval().
WorkflowTypeBase::onDependencyRemoval function core/modules/workflows/src/Plugin/WorkflowTypeBase.php Informs the plugin that a dependency of the workflow will be deleted.
WorkflowTypeInterface::onDependencyRemoval function core/modules/workflows/src/WorkflowTypeInterface.php Informs the plugin that a dependency of the workflow will be deleted.

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