21 calls to ContextAwarePluginTrait::getContextValue() in Drupal 9
- ConditionTestDualUser::evaluate in core/
modules/ system/ tests/ modules/ condition_test/ src/ Plugin/ Condition/ ConditionTestDualUser.php - Evaluates the condition and returns TRUE or FALSE accordingly.
- DefaultsSectionStorage::getSectionList in core/
modules/ layout_builder/ src/ Plugin/ SectionStorage/ DefaultsSectionStorage.php - Gets the section list.
- EntityBundle::evaluate in core/
lib/ Drupal/ Core/ Entity/ Plugin/ Condition/ EntityBundle.php - Evaluates the condition and returns TRUE or FALSE accordingly.
- ExtraFieldBlock::getEntity in core/
modules/ layout_builder/ src/ Plugin/ Block/ ExtraFieldBlock.php - Gets the entity that has the field.
- FieldBlock::build in core/
modules/ layout_builder/ src/ Plugin/ Block/ FieldBlock.php - Builds and returns the renderable array for this block plugin.
- FieldBlock::getEntity in core/
modules/ layout_builder/ src/ Plugin/ Block/ FieldBlock.php - Gets the entity that has the field.
- IHaveRuntimeContexts::build in core/
modules/ layout_builder/ tests/ modules/ layout_builder_test/ src/ Plugin/ Block/ IHaveRuntimeContexts.php - Builds and returns the renderable array for this block plugin.
- Language::evaluate in core/
modules/ language/ src/ Plugin/ Condition/ Language.php - Evaluates the condition and returns TRUE or FALSE accordingly.
- MockComplexContextBlock::getTitle in core/
modules/ system/ tests/ modules/ plugin_test/ src/ Plugin/ plugin_test/ mock_block/ MockComplexContextBlock.php - MockUserNameBlock::getTitle in core/
modules/ system/ tests/ modules/ plugin_test/ src/ Plugin/ plugin_test/ mock_block/ MockUserNameBlock.php - NodeContextTestBlock::build in core/
modules/ node/ tests/ modules/ node_block_test/ src/ Plugin/ Block/ NodeContextTestBlock.php - Builds and returns the renderable array for this block plugin.
- NodeType::evaluate in core/
modules/ node/ src/ Plugin/ Condition/ NodeType.php - Evaluates the condition and returns TRUE or FALSE accordingly.
- OptionalContextCondition::evaluate in core/
modules/ system/ tests/ modules/ condition_test/ src/ Plugin/ Condition/ OptionalContextCondition.php - Evaluates the condition and returns TRUE or FALSE accordingly.
- OverridesSectionStorage::getDefaultSectionStorage in core/
modules/ layout_builder/ src/ Plugin/ SectionStorage/ OverridesSectionStorage.php - Returns the corresponding defaults section storage for this override.
- OverridesSectionStorage::getEntity in core/
modules/ layout_builder/ src/ Plugin/ SectionStorage/ OverridesSectionStorage.php - Gets the entity storing the overrides.
- OverridesSectionStorage::getTempstoreKey in core/
modules/ layout_builder/ src/ Plugin/ SectionStorage/ OverridesSectionStorage.php - Gets a string suitable for use as a tempstore key.
- SimpleConfigSectionStorage::getStorageId in core/
modules/ layout_builder/ tests/ modules/ layout_builder_test/ src/ Plugin/ SectionStorage/ SimpleConfigSectionStorage.php - Returns an identifier for this storage.
- TestContextAwareBlock::blockAccess in core/
modules/ block/ tests/ modules/ block_test/ src/ Plugin/ Block/ TestContextAwareBlock.php - Indicates whether the block should be shown.
- TestContextAwareBlock::build in core/
modules/ block/ tests/ modules/ block_test/ src/ Plugin/ Block/ TestContextAwareBlock.php - Builds and returns the renderable array for this block plugin.
- TypedDataStringBlock::getTitle in core/
modules/ system/ tests/ modules/ plugin_test/ src/ Plugin/ plugin_test/ mock_block/ TypedDataStringBlock.php - UserRole::evaluate in core/
modules/ user/ src/ Plugin/ Condition/ UserRole.php - Evaluates the condition and returns TRUE or FALSE accordingly.