Search for content

  1. Search 7.x for content
  2. Search 8.9.x for content
  3. Search 10.3.x for content
  4. Search 11.x for content
  5. Other projects
Title Object type File name Summary
ContentEntityBaseUnitTest::$typedDataManager property core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php The typed data manager used for testing.
ContentEntityBaseUnitTest::$uuid property core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php The UUID generator used for testing.
ContentEntityBaseUnitTest::providerGet function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php Data provider for testGet().
ContentEntityBaseUnitTest::providerGetFields function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php Data provider for testGetFields().
ContentEntityBaseUnitTest::providerTestTypedData function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php Data provider for the ::getTypedData() test.
ContentEntityBaseUnitTest::setUp function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php
ContentEntityBaseUnitTest::testAccess function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::access
ContentEntityBaseUnitTest::testBundle function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::bundle
ContentEntityBaseUnitTest::testGet function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::get
@dataProvider providerGet
ContentEntityBaseUnitTest::testGetFields function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::getFields
@dataProvider providerGetFields
ContentEntityBaseUnitTest::testGetRevisionId function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::getRevisionId
ContentEntityBaseUnitTest::testIsDefaultRevision function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::isDefaultRevision
ContentEntityBaseUnitTest::testIsNewRevision function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::isNewRevision
@covers ::setNewRevision
ContentEntityBaseUnitTest::testIsTranslatable function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::isTranslatable
ContentEntityBaseUnitTest::testIsTranslatableForMonolingual function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::isTranslatable
ContentEntityBaseUnitTest::testPreSaveRevision function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::preSaveRevision
ContentEntityBaseUnitTest::testRequiredValidation function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php Tests required validation.
ContentEntityBaseUnitTest::testSet function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::set
ContentEntityBaseUnitTest::testSetNewRevisionException function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::setNewRevision
ContentEntityBaseUnitTest::testTypedData function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php Tests each condition in EntityBase::getTypedData().
ContentEntityBaseUnitTest::testValidate function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::validate
ContentEntityChangedTest class core/tests/Drupal/KernelTests/Core/Entity/ContentEntityChangedTest.php Tests basic EntityChangedInterface functionality.
ContentEntityChangedTest.php file core/tests/Drupal/KernelTests/Core/Entity/ContentEntityChangedTest.php
ContentEntityChangedTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/ContentEntityChangedTest.php Modules to enable.
ContentEntityChangedTest::$mulChangedStorage property core/tests/Drupal/KernelTests/Core/Entity/ContentEntityChangedTest.php The EntityTestMulChanged entity type storage.
ContentEntityChangedTest::$mulRevChangedStorage property core/tests/Drupal/KernelTests/Core/Entity/ContentEntityChangedTest.php The EntityTestMulRevChanged entity type storage.
ContentEntityChangedTest::getRevisionTranslationAffectedFlag function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityChangedTest.php Retrieves the revision translation affected flag value.
ContentEntityChangedTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityChangedTest.php
ContentEntityChangedTest::testChanged function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityChangedTest.php Tests basic EntityChangedInterface functionality.
ContentEntityChangedTest::testRevisionChanged function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityChangedTest.php Tests revisionable EntityChangedInterface functionality.
ContentEntityCloneTest class core/tests/Drupal/KernelTests/Core/Entity/ContentEntityCloneTest.php Tests proper cloning of content entities.
ContentEntityCloneTest.php file core/tests/Drupal/KernelTests/Core/Entity/ContentEntityCloneTest.php
ContentEntityCloneTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/ContentEntityCloneTest.php Modules to enable.
ContentEntityCloneTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityCloneTest.php
ContentEntityCloneTest::testClonedEntityFields function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityCloneTest.php Tests if the entity fields are properly cloned.
ContentEntityCloneTest::testDefaultRevision function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityCloneTest.php Tests changing the default revision flag.
ContentEntityCloneTest::testEnforceIsNewOnClonedEntityTranslation function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityCloneTest.php Tests that the flag for enforcing a new entity is not shared.
ContentEntityCloneTest::testEntityKeysModifications function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityCloneTest.php Tests modifications on entity keys of a cloned entity object.
ContentEntityCloneTest::testEntityPropertiesModifications function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityCloneTest.php Tests references of entity properties after entity cloning.
ContentEntityCloneTest::testFieldEntityReferenceAfterClone function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityCloneTest.php Tests if entity references on fields are still correct after cloning.
ContentEntityCloneTest::testFieldValuesAfterSerialize function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityCloneTest.php Tests the field values after serializing an entity and its clone.
ContentEntityCloneTest::testNewRevisionOnCloneEntityTranslation function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityCloneTest.php Tests that the flag for enforcing a new revision is not shared.
ContentEntityConfirmFormBase class core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php Provides a generic base class for an entity-based confirmation form.
ContentEntityConfirmFormBase.php file core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php
ContentEntityConfirmFormBase::actions function core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php Returns an array of supported actions for the current entity form.
ContentEntityConfirmFormBase::buildForm function core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php Form constructor.
ContentEntityConfirmFormBase::delete function core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php The delete() method is not used in ContentEntityConfirmFormBase. This
overrides the default implementation that redirects to the delete-form
confirmation form.
ContentEntityConfirmFormBase::form function core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php Gets the actual form array to be built.
ContentEntityConfirmFormBase::getBaseFormId function core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php Returns a string identifying the base form.
ContentEntityConfirmFormBase::getCancelText function core/lib/Drupal/Core/Entity/ContentEntityConfirmFormBase.php Returns a caption for the link which cancels the action.

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