Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
EntityInterface::preSave function core/lib/Drupal/Core/Entity/EntityInterface.php Acts on an entity before the presave hook is invoked.
EntityInterface::referencedEntities function core/lib/Drupal/Core/Entity/EntityInterface.php Gets a list of entities referenced by this entity.
EntityInterface::save function core/lib/Drupal/Core/Entity/EntityInterface.php Saves an entity permanently.
EntityInterface::setOriginal function core/lib/Drupal/Core/Entity/EntityInterface.php Sets the original unchanged entity.
EntityInterface::setOriginalId function core/lib/Drupal/Core/Entity/EntityInterface.php Sets the original ID.
EntityInterface::toArray function core/lib/Drupal/Core/Entity/EntityInterface.php Gets an array of all property values.
EntityInterface::toLink function core/lib/Drupal/Core/Entity/EntityInterface.php Generates the HTML for a link to this entity.
EntityInterface::toUrl function core/lib/Drupal/Core/Entity/EntityInterface.php Gets the URL object for the entity.
EntityInterface::uriRelationships function core/lib/Drupal/Core/Entity/EntityInterface.php Gets a list of URI relationships supported by this entity.
EntityInterface::uuid function core/lib/Drupal/Core/Entity/EntityInterface.php Gets the entity UUID (Universally Unique Identifier).
EntityKernelTestBase class core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php Defines an abstract test base for entity kernel tests.
EntityKernelTestBase.php file core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php
EntityKernelTestBase::$entityTypeManager property core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php The entity type manager service.
EntityKernelTestBase::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php Modules to install.
EntityKernelTestBase::$state property core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php The state service.
EntityKernelTestBase::createUser function core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php Creates a user.
EntityKernelTestBase::getHooksInfo function core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php Returns the entity_test hook invocation info.
EntityKernelTestBase::installModule function core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php Installs a module and refreshes services.
EntityKernelTestBase::refreshServices function core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php Refresh services.
EntityKernelTestBase::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php
EntityKernelTestBase::uninstallModule function core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php Uninstalls a module and refreshes services.
EntityKernelTestBaseTest class core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBaseTest.php Tests Entity Kernel Test Base.
EntityKernelTestBaseTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBaseTest.php
EntityKernelTestBaseTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBaseTest.php
EntityKernelTestBaseTest::testSetUpCurrentUser function core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBaseTest.php Tests that the current user is set up correctly.
EntityKeysTest class core/tests/Drupal/KernelTests/Core/Entity/EntityKeysTest.php Test the behavior of entity keys.
EntityKeysTest.php file core/tests/Drupal/KernelTests/Core/Entity/EntityKeysTest.php
EntityKeysTest::multipleKeysCacheTestCases function core/tests/Drupal/KernelTests/Core/Entity/EntityKeysTest.php Data provider for ::testMultipleKeysCache.
EntityKeysTest::testMultipleKeysCache function core/tests/Drupal/KernelTests/Core/Entity/EntityKeysTest.php Tests the cache when multiple keys reference a single field.
EntityLabel class core/modules/views/src/Plugin/views/field/EntityLabel.php Field handler to display entity label optionally linked to entity page.
EntityLabel.php file core/modules/views/src/Plugin/views/field/EntityLabel.php
EntityLabel::$entityTypeManager property core/modules/views/src/Plugin/views/field/EntityLabel.php EntityTypeManager class.
EntityLabel::$loadedReferencers property core/modules/views/src/Plugin/views/field/EntityLabel.php Array of entities that reference to file.
EntityLabel::buildOptionsForm function core/modules/views/src/Plugin/views/field/EntityLabel.php Default option form that provides label widget that all fields should have.
EntityLabel::defineOptions function core/modules/views/src/Plugin/views/field/EntityLabel.php Information about options for all kinds of purposes will be held here.
EntityLabel::init function core/modules/views/src/Plugin/views/field/EntityLabel.php Initialize the plugin.
EntityLabel::preRender function core/modules/views/src/Plugin/views/field/EntityLabel.php Runs before any fields are rendered.
EntityLabel::render function core/modules/views/src/Plugin/views/field/EntityLabel.php Renders the field.
EntityLabel::__construct function core/modules/views/src/Plugin/views/field/EntityLabel.php Constructs an EntityLabel object.
EntityLabelTest class core/modules/system/tests/src/Kernel/Entity/EntityLabelTest.php Tests that entity type labels use sentence-case.
EntityLabelTest.php file core/modules/system/tests/src/Kernel/Entity/EntityLabelTest.php
EntityLabelTest::testEntityLabelCasing function core/modules/system/tests/src/Kernel/Entity/EntityLabelTest.php Tests that entity type labels use sentence-case.
EntityLanguageTestBase class core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php Base class for language-aware entity tests.
EntityLanguageTestBase.php file core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php
EntityLanguageTestBase::$fieldName property core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php The test field name.
EntityLanguageTestBase::$langcodes property core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php The available language codes.
EntityLanguageTestBase::$languageManager property core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php The language manager service.
EntityLanguageTestBase::$modules property core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php Modules to install.
EntityLanguageTestBase::$untranslatableFieldName property core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php The untranslatable test field name.
EntityLanguageTestBase::setUp function core/tests/Drupal/KernelTests/Core/Entity/EntityLanguageTestBase.php

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