You are here

public function FormEnhancerInterface::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.

1 method overrides FormEnhancerInterface::applies()
FormEnhancerBase::applies in src/FormEnhancer/FormEnhancerBase.php
Whether this enhancer applies to a particular event.

File

src/FormEnhancer/FormEnhancerInterface.php, line 33

Class

FormEnhancerInterface
Interface for form enhancer plugins.

Namespace

Drupal\flexiform\FormEnhancer

Code

public function applies($event);