Search for content

  1. Search 7.x for content
  2. Search 9.5.x for content
  3. Search 8.9.x for content
  4. Search 11.x for content
  5. Other projects
Title Object type File name Summary
ContentEntityBase::setDefaultLangcode function core/lib/Drupal/Core/Entity/ContentEntityBase.php Populates the local cache for the default language code.
ContentEntityBase::setDefaultTranslationEnforced function core/lib/Drupal/Core/Entity/ContentEntityBase.php Set or clear an override of the isDefaultTranslation() result.
ContentEntityBase::setNewRevision function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBase::setRevisionTranslationAffected function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBase::setRevisionTranslationAffectedEnforced function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBase::setValidationRequired function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBase::toArray function core/lib/Drupal/Core/Entity/ContentEntityBase.php Gets an array of all property values.
ContentEntityBase::updateFieldLangcodes function core/lib/Drupal/Core/Entity/ContentEntityBase.php Updates language for already instantiated fields.
ContentEntityBase::updateLoadedRevisionId function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBase::updateOriginalValues function core/lib/Drupal/Core/Entity/ContentEntityBase.php Updates the original values with the interim changes.
ContentEntityBase::uuid function core/lib/Drupal/Core/Entity/ContentEntityBase.php Gets the entity UUID (Universally Unique Identifier).
ContentEntityBase::validate function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBase::wasDefaultRevision function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBase::__clone function core/lib/Drupal/Core/Entity/ContentEntityBase.php Magic method: Implements a deep clone.
ContentEntityBase::__construct function core/lib/Drupal/Core/Entity/ContentEntityBase.php Constructs an Entity object.
ContentEntityBase::__get function core/lib/Drupal/Core/Entity/ContentEntityBase.php Implements the magic method for getting object properties.
ContentEntityBase::__isset function core/lib/Drupal/Core/Entity/ContentEntityBase.php Implements the magic method for isset().
ContentEntityBase::__set function core/lib/Drupal/Core/Entity/ContentEntityBase.php Implements the magic method for setting object properties.
ContentEntityBase::__sleep function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBase::__unset function core/lib/Drupal/Core/Entity/ContentEntityBase.php Implements the magic method for unset().
ContentEntityBaseMockableClass class core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseMockableClass.php A class extending ContentEntityBase for mocking purposes.
ContentEntityBaseMockableClass.php file core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseMockableClass.php
ContentEntityBaseUnitTest class core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @coversDefaultClass \Drupal\Core\Entity\ContentEntityBase
@group Entity
@group Access
ContentEntityBaseUnitTest.php file core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php
ContentEntityBaseUnitTest::$bundle property core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php The bundle of the entity under test.
ContentEntityBaseUnitTest::$entity property core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php The entity under test.
ContentEntityBaseUnitTest::$entityFieldManager property core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php The entity field manager used for testing.
ContentEntityBaseUnitTest::$entityType property core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php The entity type used for testing.
ContentEntityBaseUnitTest::$entityTypeBundleInfo property core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php The entity type bundle manager used for testing.
ContentEntityBaseUnitTest::$entityTypeId property core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php The type ID of the entity under test.
ContentEntityBaseUnitTest::$entityTypeManager property core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php The entity type manager used for testing.
ContentEntityBaseUnitTest::$entityUnd property core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php An entity with no defined language to test.
ContentEntityBaseUnitTest::$fieldDefinitions property core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php Field definitions.
ContentEntityBaseUnitTest::$fieldTypePluginManager property core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php The field type manager used for testing.
ContentEntityBaseUnitTest::$id property core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php The entity ID.
ContentEntityBaseUnitTest::$languageManager property core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php The language manager.
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

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