public function FetchEntityVariableAction::buildForm in Business Rules 2.x
Same name and namespace in other branches
- 8 src/Plugin/BusinessRulesAction/FetchEntityVariableAction.php \Drupal\business_rules\Plugin\BusinessRulesAction\FetchEntityVariableAction::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/ BusinessRulesAction/ FetchEntityVariableAction.php, line 101
Class
- FetchEntityVariableAction
- Class FetchEntityVariable.
Namespace
Drupal\business_rules\Plugin\BusinessRulesActionCode
public function buildForm(array &$form, FormStateInterface $form_state) {
$form['settings']['field']['#description'] = t('Select the entity id field.');
$form['settings']['field']['#title'] = t('Entity id field.');
}