| ModerationHandler::enforceRevisionsEntityFormAlter |
function |
core/modules/content_moderation/src/Entity/Handler/ModerationHandler.php |
Alters entity forms to enforce revision handling. |
| ModerationHandler::isModeratedEntity |
function |
core/modules/content_moderation/src/Entity/Handler/ModerationHandler.php |
Determines if an entity should be moderated. |
| ModerationHandlerInterface::enforceRevisionsEntityFormAlter |
function |
core/modules/content_moderation/src/Entity/Handler/ModerationHandlerInterface.php |
Alters entity forms to enforce revision handling. |
| ModerationHandlerInterface::isModeratedEntity |
function |
core/modules/content_moderation/src/Entity/Handler/ModerationHandlerInterface.php |
Determines if an entity should be moderated. |
| ModerationInformation::$entityTypeManager |
property |
core/modules/content_moderation/src/ModerationInformation.php |
The entity type manager. |
| ModerationInformation::canModerateEntitiesOfEntityType |
function |
core/modules/content_moderation/src/ModerationInformation.php |
Determines if an entity type can have moderated entities. |
| ModerationInformation::getWorkflowForEntity |
function |
core/modules/content_moderation/src/ModerationInformation.php |
Gets the workflow for the given content entity. |
| ModerationInformation::getWorkflowForEntityTypeAndBundle |
function |
core/modules/content_moderation/src/ModerationInformation.php |
Gets the workflow for the given entity type and bundle. |
| ModerationInformation::isModeratedEntity |
function |
core/modules/content_moderation/src/ModerationInformation.php |
Determines if an entity is moderated. |
| ModerationInformation::isModeratedEntityType |
function |
core/modules/content_moderation/src/ModerationInformation.php |
Determines if an entity type has at least one moderated bundle. |
| ModerationInformationInterface::canModerateEntitiesOfEntityType |
function |
core/modules/content_moderation/src/ModerationInformationInterface.php |
Determines if an entity type can have moderated entities. |
| ModerationInformationInterface::getWorkflowForEntity |
function |
core/modules/content_moderation/src/ModerationInformationInterface.php |
Gets the workflow for the given content entity. |
| ModerationInformationInterface::getWorkflowForEntityTypeAndBundle |
function |
core/modules/content_moderation/src/ModerationInformationInterface.php |
Gets the workflow for the given entity type and bundle. |
| ModerationInformationInterface::isModeratedEntity |
function |
core/modules/content_moderation/src/ModerationInformationInterface.php |
Determines if an entity is moderated. |
| ModerationInformationInterface::isModeratedEntityType |
function |
core/modules/content_moderation/src/ModerationInformationInterface.php |
Determines if an entity type has at least one moderated bundle. |
| ModerationInformationTest::getEntityTypeManager |
function |
core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php |
Returns a mock Entity Type Manager. |
| ModerationInformationTest::testGetWorkflowForEntity |
function |
core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php |
Tests get workflow for entity. |
| ModerationInformationTest::testIsModeratedEntity |
function |
core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php |
Tests is moderated entity. |
| ModerationInformationTest::testIsModeratedEntityType |
function |
core/modules/content_moderation/tests/src/Unit/ModerationInformationTest.php |
Tests is moderated entity type. |
| ModerationStateConstraintValidator::$entityTypeManager |
property |
core/modules/content_moderation/src/Plugin/Validation/Constraint/ModerationStateConstraintValidator.php |
The entity type manager. |
| ModerationStateFieldItemList::updateModeratedEntity |
function |
core/modules/content_moderation/src/Plugin/Field/ModerationStateFieldItemList.php |
Updates the default revision flag and the publishing status of the entity. |
| ModerationStateFieldItemListTest::entityUnserializeTestCases |
function |
core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php |
Test cases for ::testEntityUnserialize. |
| ModerationStateFieldItemListTest::moderatedEntityWithExistingIdTestCases |
function |
core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php |
Tests cases for ::testModeratedEntityWithExistingId. |
| ModerationStateFieldItemListTest::testEntityUnserialize |
function |
core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php |
Tests the moderation_state field after an entity has been serialized. |
| ModerationStateFieldItemListTest::testEntityWithNoWorkflow |
function |
core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php |
Tests updating the state for an entity without a workflow. |
| ModerationStateFieldItemListTest::testModeratedEntityWithExistingId |
function |
core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php |
Tests saving a moderated node with an existing ID. |
| ModerationStateFieldItemListTest::testNonModeratedEntity |
function |
core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php |
Tests the list class with a non moderated entity. |
| ModerationStateFilter::$entityTypeManager |
property |
core/modules/content_moderation/src/Plugin/views/filter/ModerationStateFilter.php |
The entity type manager. |
| ModerationStateNodeTypeTest::testEnforceRevisionsEntityFormAlter |
function |
core/modules/content_moderation/tests/src/Functional/ModerationStateNodeTypeTest.php |
Tests enforce revisions entity form alter. |
| ModerationStateSort::$entityTypeManager |
property |
core/modules/content_moderation/src/Plugin/views/sort/ModerationStateSort.php |
The entity type manager. |
| ModerationStateTaxonomyTermTest::testEnforceRevisionsEntityFormAlter |
function |
core/modules/content_moderation/tests/src/Functional/ModerationStateTaxonomyTermTest.php |
Tests the taxonomy term moderation handler alters the forms as intended. |
| ModerationStateWidget::$entityTypeManager |
property |
core/modules/content_moderation/src/Plugin/Field/FieldWidget/ModerationStateWidget.php |
The entity type manager. |
| ModerationStateWidgetTest::testWidgetNonModeratedEntity |
function |
core/modules/content_moderation/tests/src/Kernel/ModerationStateWidgetTest.php |
Tests the widget does not impact a non-moderated entity. |
| ModuleInstallerTest::testEntityStorageInstalledBeforeSimpleConfig |
function |
core/tests/Drupal/KernelTests/Core/Extension/ModuleInstallerTest.php |
Tests that entity storage tables are installed before simple config. |
| ModuleInstallerTest::testFieldStorageEntityTypeDependencies |
function |
core/tests/Drupal/KernelTests/Core/Extension/ModuleInstallerTest.php |
Tests field storage definitions are installed only if entity types exist. |
| ModulesUninstallConfirmForm::$entityTypeManager |
property |
core/modules/system/src/Form/ModulesUninstallConfirmForm.php |
The entity type manager. |
| MoveTest::testEntityStorageException |
function |
core/modules/file/tests/src/Kernel/MoveTest.php |
Tests for entity storage exception. |
| MultilingualReviewPageTestBase::getEntityCounts |
function |
core/modules/migrate_drupal_ui/tests/src/Functional/MultilingualReviewPageTestBase.php |
Gets the expected number of entities per entity type after migration. |
| MultilingualReviewPageTestBase::getEntityCountsIncremental |
function |
core/modules/migrate_drupal_ui/tests/src/Functional/MultilingualReviewPageTestBase.php |
Gets expected number of entities per entity after incremental migration. |
| navigation.entity_route_helper |
service |
core/modules/navigation/navigation.services.yml |
Drupal\navigation\EntityRouteHelper |
| NavigationContentLinks::addCreateEntityLinks |
function |
core/modules/navigation/src/NavigationContentLinks.php |
Add create links for an entity type. |
| NavigationEntityRouteHelperTest |
class |
core/modules/navigation/tests/src/Kernel/NavigationEntityRouteHelperTest.php |
Tests \Drupal\navigation\EntityRouteHelper. |
| NavigationEntityRouteHelperTest.php |
file |
core/modules/navigation/tests/src/Kernel/NavigationEntityRouteHelperTest.php |
|
| NavigationEntityRouteHelperTest::$modules |
property |
core/modules/navigation/tests/src/Kernel/NavigationEntityRouteHelperTest.php |
Modules to install. |
| NavigationEntityRouteHelperTest::testGetContentEntityFromRouteWithNonExistentRoute |
function |
core/modules/navigation/tests/src/Kernel/NavigationEntityRouteHelperTest.php |
Tests getContentEntityFromRoute() method when the route does not exist. |
| NegotiatorBase::$entityTypeManager |
property |
core/modules/jsonapi/src/Revisions/NegotiatorBase.php |
The entity type manager to load the revision. |
| NestedEntityTestForm |
class |
core/modules/field/tests/modules/field_test/src/Form/NestedEntityTestForm.php |
Provides a form for field_test routes. |
| NestedEntityTestForm.php |
file |
core/modules/field/tests/modules/field_test/src/Form/NestedEntityTestForm.php |
|
| NestedEntityTestForm::buildForm |
function |
core/modules/field/tests/modules/field_test/src/Form/NestedEntityTestForm.php |
Form constructor. |
| NestedEntityTestForm::getFormId |
function |
core/modules/field/tests/modules/field_test/src/Form/NestedEntityTestForm.php |
Returns a unique string identifying the form. |