public function ErlLayout::validateConfigurationForm in Entity Reference with Layout 8
Form validation handler.
Parameters
array $form: An associative array containing the structure of the plugin form as built by static::buildConfigurationForm().
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Calling code should pass on a subform state created through \Drupal\Core\Form\SubformState::createForSubform().
Overrides LayoutDefault::validateConfigurationForm
File
- modules/
erl_layouts/ src/ Plugin/ Layout/ ErlLayout.php, line 256
Class
- ErlLayout
- Layout class with various formatting options for custom ERL layouts.
Namespace
Drupal\erl_layouts\Plugin\LayoutCode
public function validateConfigurationForm(array &$form, FormStateInterface $form_state) {
// Any additional form validation that is required.
}