4 calls to ContextAwarePluginTrait::getContextValue()
- EntityBundle::evaluate in core/
lib/ Drupal/ Core/ Entity/ Plugin/ Condition/ EntityBundle.php - Evaluates the condition and returns TRUE or FALSE accordingly.
- 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.
- UserRole::evaluate in core/
modules/ user/ src/ Plugin/ Condition/ UserRole.php - Evaluates the condition and returns TRUE or FALSE accordingly.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.