public function PathCondition::summary in Access Filter 8
Gets summary text for the condition.
Return value
string A summary string.
Overrides ConditionInterface::summary
File
- src/
Plugin/ AccessFilter/ Condition/ PathCondition.php, line 63
Class
- PathCondition
- Filter condition using drupal path.
Namespace
Drupal\access_filter\Plugin\AccessFilter\ConditionCode
public function summary() {
$regex = !empty($this->configuration['regex']) ? '<span class="regex">[Regex]</span>' : '';
return $this->configuration['path'] . $regex;
}