Search for set

  1. Search 7.x for set
  2. Search 9.5.x for set
  3. Search 10.3.x for set
  4. Search 11.x for set
  5. Other projects
Title Object type File name Summary
ContentEntityBase::set function core/lib/Drupal/Core/Entity/ContentEntityBase.php Sets a field value.
ContentEntityBase::setDefaultLangcode function core/lib/Drupal/Core/Entity/ContentEntityBase.php Populates the local cache for the default language code.
ContentEntityBase::setNewRevision function core/lib/Drupal/Core/Entity/ContentEntityBase.php Enforces an entity to be saved as a new revision.
ContentEntityBase::setRevisionTranslationAffected function core/lib/Drupal/Core/Entity/ContentEntityBase.php Marks the current revision translation as affected.
ContentEntityBase::setRevisionTranslationAffectedEnforced function core/lib/Drupal/Core/Entity/ContentEntityBase.php Enforces the revision translation affected flag value.
ContentEntityBase::setValidationRequired function core/lib/Drupal/Core/Entity/ContentEntityBase.php Sets whether entity validation is required before saving the entity.
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::__unset function core/lib/Drupal/Core/Entity/ContentEntityBase.php Implements the magic method for unset().
ContentEntityBaseUnitTest::setUp function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php
ContentEntityBaseUnitTest::testSet function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::set[[api-linebreak]]
ContentEntityBaseUnitTest::testSetNewRevisionException function core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php @covers ::setNewRevision[[api-linebreak]]
ContentEntityChangedTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityChangedTest.php
ContentEntityCloneTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityCloneTest.php
ContentEntityFieldMethodInvocationOrderTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityFieldMethodInvocationOrderTest.php
ContentEntityForm::setFormDisplay function core/lib/Drupal/Core/Entity/ContentEntityForm.php Sets the form display.
ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest::setUp function core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormCorrectUserInputMappingOnFieldDeltaElementsTest.php
ContentEntityFormFieldValidationFilteringTest::setUp function core/tests/Drupal/FunctionalTests/Entity/ContentEntityFormFieldValidationFilteringTest.php
ContentEntityFormInterface::setFormDisplay function core/lib/Drupal/Core/Entity/ContentEntityFormInterface.php Sets the form display.
ContentEntityHasChangesTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityHasChangesTest.php
ContentEntityNonRevisionableFieldTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityNonRevisionableFieldTest.php
ContentEntityNormalizerTest::setUp function core/modules/serialization/tests/src/Unit/Normalizer/ContentEntityNormalizerTest.php
ContentEntityStorageBase::resetCache function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Resets the internal, static entity cache.
ContentEntityStorageBase::setPersistentCache function core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php Stores entities in the persistent cache backend.
ContentEntityStorageBaseTest class core/tests/Drupal/KernelTests/Core/Entity/ContentEntityStorageBaseTest.php @coversDefaultClass \Drupal\Core\Entity\ContentEntityStorageBase[[api-linebreak]]
ContentEntityStorageBaseTest.php file core/tests/Drupal/KernelTests/Core/Entity/ContentEntityStorageBaseTest.php
ContentEntityStorageBaseTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/ContentEntityStorageBaseTest.php Modules to enable.
ContentEntityStorageBaseTest::providerTestCreate function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityStorageBaseTest.php Provides test data for testCreate().
ContentEntityStorageBaseTest::setUp function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityStorageBaseTest.php
ContentEntityStorageBaseTest::testCreate function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityStorageBaseTest.php @covers ::create[[api-linebreak]]
ContentEntityStorageBaseTest::testReCreate function core/tests/Drupal/KernelTests/Core/Entity/ContentEntityStorageBaseTest.php @covers ::create[[api-linebreak]]
ContentEntityTest::setUp function core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/ContentEntityTest.php
ContentEntityType::setRevisionMetadataKey function core/lib/Drupal/Core/Entity/ContentEntityType.php Sets a revision metadata key.
ContentEntityTypeInterface::setRevisionMetadataKey function core/lib/Drupal/Core/Entity/ContentEntityTypeInterface.php Sets a revision metadata key.
ContentLanguageSettings class core/modules/language/src/Entity/ContentLanguageSettings.php Defines the ContentLanguageSettings entity.
ContentLanguageSettings.php file core/modules/language/src/Entity/ContentLanguageSettings.php
ContentLanguageSettings::$default_langcode property core/modules/language/src/Entity/ContentLanguageSettings.php The default language code.
ContentLanguageSettings::$id property core/modules/language/src/Entity/ContentLanguageSettings.php The id. Combination of $target_entity_type_id.$target_bundle.
ContentLanguageSettings::$language_alterable property core/modules/language/src/Entity/ContentLanguageSettings.php Indicates if the language is alterable or not.
ContentLanguageSettings::$target_bundle property core/modules/language/src/Entity/ContentLanguageSettings.php The bundle (machine name).
ContentLanguageSettings::$target_entity_type_id property core/modules/language/src/Entity/ContentLanguageSettings.php The entity type ID (machine name).
ContentLanguageSettings::calculateDependencies function core/modules/language/src/Entity/ContentLanguageSettings.php Calculates dependencies and stores them in the dependency property.
ContentLanguageSettings::getDefaultLangcode function core/modules/language/src/Entity/ContentLanguageSettings.php Gets the default language code.
ContentLanguageSettings::getTargetBundle function core/modules/language/src/Entity/ContentLanguageSettings.php Gets the bundle this config applies to.
ContentLanguageSettings::getTargetEntityTypeId function core/modules/language/src/Entity/ContentLanguageSettings.php Gets the entity type ID this config applies to.
ContentLanguageSettings::id function core/modules/language/src/Entity/ContentLanguageSettings.php Gets the identifier.
ContentLanguageSettings::isDefaultConfiguration function core/modules/language/src/Entity/ContentLanguageSettings.php Checks if this config object contains the default values in every property.
ContentLanguageSettings::isLanguageAlterable function core/modules/language/src/Entity/ContentLanguageSettings.php Checks if the language is alterable or not.
ContentLanguageSettings::loadByEntityTypeBundle function core/modules/language/src/Entity/ContentLanguageSettings.php Loads a content language config entity based on the entity type and bundle.
ContentLanguageSettings::preSave function core/modules/language/src/Entity/ContentLanguageSettings.php Acts on an entity before the presave hook is invoked.

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