You are here

public function RulesUiHandlerInterface::validateLock in Rules 8.3

Validation callback that prevents editing locked rule components.

Parameters

array $form: An associative array containing the structure of the form.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

File

src/Ui/RulesUiHandlerInterface.php, line 146

Class

RulesUiHandlerInterface
Interface for Rules UI handlers.

Namespace

Drupal\rules\Ui

Code

public function validateLock(array &$form, FormStateInterface $form_state);