public function ConfigurableFormEnhancerBase::applies in Flexiform 8
Whether this enhancer applies to a particular event.
Parameters
string $event: The enhancer event name.
Return value
bool True if the enhancer applies to a particular event.
Overrides FormEnhancerBase::applies
1 method overrides ConfigurableFormEnhancerBase::applies()
- PageExposure::applies in src/
Plugin/ FormEnhancer/ PageExposure.php - Whether this enhancer applies to a particular event.
File
- src/
FormEnhancer/ ConfigurableFormEnhancerBase.php, line 40
Class
- ConfigurableFormEnhancerBase
- Base class for form enhancers.
Namespace
Drupal\flexiform\FormEnhancerCode
public function applies($event) {
if ($event == 'configuration_form') {
return TRUE;
}
else {
return parent::applies($event);
}
}