public function EntityFieldCondition::summary in Context entity field 8
Provides a human readable summary of the condition's configuration.
Overrides ConditionInterface::summary
File
- src/
Plugin/ Condition/ EntityFieldCondition.php, line 159
Class
- EntityFieldCondition
- Provides an 'Entity Field' condition.
Namespace
Drupal\context_entity_field\Plugin\ConditionCode
public function summary() {
return $this
->t('@bundle_type field', [
'@bundle_type' => $this->entityType
->getBundleLabel(),
]);
}