public function PageNotFoundRequest::summary in Block In Page Not Found 8.4
Same name and namespace in other branches
- 8.3 src/Plugin/Condition/PageNotFoundRequest.php \Drupal\block_in_page_not_found\Plugin\Condition\PageNotFoundRequest::summary()
Provides a human readable summary of the condition's configuration.
Overrides ConditionInterface::summary
File
- src/
Plugin/ Condition/ PageNotFoundRequest.php, line 116
Class
- PageNotFoundRequest
- Provides a 'Page not found' condition.
Namespace
Drupal\block_in_page_not_found\Plugin\ConditionCode
public function summary() {
if (!empty($this->configuration['negate'])) {
return $this
->t('Do not return true on the following page not found.');
}
return $this
->t('Return true on the following page not found.');
}