public function EntityFieldVariable::buildForm in Business Rules 8
Same name and namespace in other branches
- 2.x src/Plugin/BusinessRulesVariable/EntityFieldVariable.php \Drupal\business_rules\Plugin\BusinessRulesVariable\EntityFieldVariable::buildForm()
Form constructor.
Give a chance to plugin to change the buildForm method.
Parameters
array $form: The form array.
\Drupal\Core\Form\FormStateInterface $form_state: The form state object.
Overrides BusinessRulesItemPluginBase::buildForm
File
- src/
Plugin/ BusinessRulesVariable/ EntityFieldVariable.php, line 177
Class
- EntityFieldVariable
- Class EntityValue.
Namespace
Drupal\business_rules\Plugin\BusinessRulesVariableCode
public function buildForm(array &$form, FormStateInterface $form_state) {
unset($form['variables']);
}