Search for properties

  1. Search 7.x for properties
  2. Search 9.5.x for properties
  3. Search 8.9.x for properties
  4. Search 10.3.x for properties
  5. Other projects
Title Object type File name Summary
FieldConfigStorage::loadByProperties function core/modules/field/src/FieldConfigStorage.php Load entities by their property values without any access checks.
FieldConfigValidationTest::testImmutableProperties function core/modules/field/tests/src/Kernel/Entity/FieldConfigValidationTest.php Tests that immutable properties cannot be changed.
FieldItemNormalizerTest::testNormalizeFieldItemWithoutProperties function core/modules/jsonapi/tests/src/Kernel/Normalizer/FieldItemNormalizerTest.php Tests a field item that has no properties.
FieldStorageConfigStorage::loadByProperties function core/modules/field/src/FieldStorageConfigStorage.php Load entities by their property values without any access checks.
FieldStorageConfigValidationTest::testImmutableProperties function core/modules/field/tests/src/Kernel/Entity/FieldStorageConfigValidationTest.php Tests that immutable properties cannot be changed.
FieldTranslationSynchronizer::getFieldSynchronizedProperties function core/modules/content_translation/src/FieldTranslationSynchronizer.php
FieldTranslationSynchronizerInterface::getFieldSynchronizedProperties function core/modules/content_translation/src/FieldTranslationSynchronizerInterface.php Returns the synchronized properties for the specified field definition.
FileSystem::$deprecatedProperties property core/lib/Drupal/Core/File/FileSystem.php
FilterTest::testInvalidFilterPathDueMissingMetaPrefixReferenceFieldWithMetaProperties function core/modules/jsonapi/tests/src/Kernel/Query/FilterTest.php @covers ::queryCondition
FilterTest::testInvalidFilterPathDueToMissingPropertyNameReferenceFieldWithMetaProperties function core/modules/jsonapi/tests/src/Kernel/Query/FilterTest.php @covers ::queryCondition
FilterTest::testInvalidFilterPathDueToMissingPropertyNameReferenceFieldWithoutMetaProperties function core/modules/jsonapi/tests/src/Kernel/Query/FilterTest.php @covers ::queryCondition
ImmutablePropertiesConstraint class core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ImmutablePropertiesConstraint.php Checks if config entity properties have been changed.
ImmutablePropertiesConstraint.php file core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ImmutablePropertiesConstraint.php
ImmutablePropertiesConstraint::$message property core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ImmutablePropertiesConstraint.php The error message if an immutable property has been changed.
ImmutablePropertiesConstraint::$properties property core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ImmutablePropertiesConstraint.php The names of the immutable properties.
ImmutablePropertiesConstraint::getDefaultOption function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ImmutablePropertiesConstraint.php
ImmutablePropertiesConstraint::getRequiredOptions function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ImmutablePropertiesConstraint.php
ImmutablePropertiesConstraintValidator class core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ImmutablePropertiesConstraintValidator.php Validates the ImmutableProperties constraint.
ImmutablePropertiesConstraintValidator.php file core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ImmutablePropertiesConstraintValidator.php
ImmutablePropertiesConstraintValidator::create function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ImmutablePropertiesConstraintValidator.php Instantiates a new instance of this class.
ImmutablePropertiesConstraintValidator::validate function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ImmutablePropertiesConstraintValidator.php
ImmutablePropertiesConstraintValidator::__construct function core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/ImmutablePropertiesConstraintValidator.php Constructs an ImmutablePropertiesConstraintValidator object.
ImmutablePropertiesConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/Entity/ImmutablePropertiesConstraintValidatorTest.php @group Entity
@group Validation
ImmutablePropertiesConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/Entity/ImmutablePropertiesConstraintValidatorTest.php
ImmutablePropertiesConstraintValidatorTest::$modules property core/tests/Drupal/KernelTests/Core/Entity/ImmutablePropertiesConstraintValidatorTest.php Modules to install.
ImmutablePropertiesConstraintValidatorTest::testImmutablePropertyCannotBeChanged function core/tests/Drupal/KernelTests/Core/Entity/ImmutablePropertiesConstraintValidatorTest.php Tests that changing a config entity's immutable property raises an error.
ImmutablePropertiesConstraintValidatorTest::testValidatedEntityMustHaveAnId function core/tests/Drupal/KernelTests/Core/Entity/ImmutablePropertiesConstraintValidatorTest.php Tests that entities without an ID will raise an exception.
ImmutablePropertiesConstraintValidatorTest::testValidatorRejectsANonExistentProperty function core/tests/Drupal/KernelTests/Core/Entity/ImmutablePropertiesConstraintValidatorTest.php Tests that the validator throws an exception for non-existent properties.
ImmutablePropertiesConstraintValidatorTest::testValidatorRequiresAConfigEntity function core/tests/Drupal/KernelTests/Core/Entity/ImmutablePropertiesConstraintValidatorTest.php Tests that only config entities are accepted by the validator.
Interface translation properties group core/modules/locale/locale.api.php .info.yml file properties for interface translation settings.
InternalViolation::$properties property core/lib/Drupal/Core/Field/InternalViolation.php An array of dynamic properties.
InternalViolationTest::testSetGetDynamicProperties function core/tests/Drupal/Tests/Core/Field/InternalViolationTest.php @covers ::__get
@covers ::__set
LayoutBuilderEntityViewDisplayValidationTest::testImmutableProperties function core/modules/layout_builder/tests/src/Kernel/LayoutBuilderEntityViewDisplayValidationTest.php Tests that immutable properties cannot be changed.
locale_translate_file_attach_properties function core/modules/locale/locale.bulk.inc Generates file properties from filename and options.
Map::$properties property core/lib/Drupal/Core/TypedData/Plugin/DataType/Map.php The array of properties.
Map::getProperties function core/lib/Drupal/Core/TypedData/Plugin/DataType/Map.php Gets an array of property objects.
MapDataNormalizerTest::buildExampleTypedDataWithProperties function core/modules/serialization/tests/src/Kernel/MapDataNormalizerTest.php Builds some example typed data object with properties.
MapDataNormalizerTest::testMapWithPropertiesNormalize function core/modules/serialization/tests/src/Kernel/MapDataNormalizerTest.php Tests whether map data with properties can be normalized.
MediaSourceImageTest::testOnlyMainPropertiesTriggerSourceFieldChanged function core/modules/media/tests/src/Functional/MediaSourceImageTest.php Test that non-main properties do not trigger source field value change.
MediaTypeValidationTest::testImmutableProperties function core/modules/media/tests/src/Kernel/MediaTypeValidationTest.php Tests that immutable properties cannot be changed.
MenuTreeStorage::loadByProperties function core/lib/Drupal/Core/Menu/MenuTreeStorage.php Loads multiple plugin definitions from the storage based on properties.
MenuTreeStorageInterface::loadByProperties function core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php Loads multiple plugin definitions from the storage based on properties.
MenuTreeStorageTest::testLoadByProperties function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Tests MenuTreeStorage::loadByProperties().
MenuValidationTest::$propertiesWithOptionalValues property core/modules/system/tests/src/Kernel/Entity/MenuValidationTest.php The config entity properties whose values are optional (set to NULL).
MigrateSourceTest::testDefaultPropertiesValues function core/modules/migrate/tests/src/Unit/MigrateSourceTest.php Tests that default values are preserved for several source methods.
NodeTypeValidationTest::$propertiesWithOptionalValues property core/modules/node/tests/src/Kernel/NodeTypeValidationTest.php The config entity properties whose values are optional (set to NULL).
Permission::$deprecatedProperties property core/modules/user/src/Plugin/views/access/Permission.php The service properties that should raise a deprecation error.
Permissions::$deprecatedProperties property core/modules/user/src/Plugin/views/filter/Permissions.php The service properties that should raise a deprecation error.
RecursiveContextualValidatorTest::buildExampleTypedDataWithProperties function core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php Builds some example type data object.
RecursiveContextualValidatorTest::testPropertiesValidateWithMultipleLevels function core/tests/Drupal/Tests/Core/TypedData/RecursiveContextualValidatorTest.php @covers ::validate

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