public function LingotekProfileListBuilder::buildForm in Lingotek Translation 8.2
Same name and namespace in other branches
- 8 src/LingotekProfileListBuilder.php \Drupal\lingotek\LingotekProfileListBuilder::buildForm()
- 4.0.x src/LingotekProfileListBuilder.php \Drupal\lingotek\LingotekProfileListBuilder::buildForm()
- 3.0.x src/LingotekProfileListBuilder.php \Drupal\lingotek\LingotekProfileListBuilder::buildForm()
- 3.1.x src/LingotekProfileListBuilder.php \Drupal\lingotek\LingotekProfileListBuilder::buildForm()
- 3.2.x src/LingotekProfileListBuilder.php \Drupal\lingotek\LingotekProfileListBuilder::buildForm()
- 3.3.x src/LingotekProfileListBuilder.php \Drupal\lingotek\LingotekProfileListBuilder::buildForm()
- 3.4.x src/LingotekProfileListBuilder.php \Drupal\lingotek\LingotekProfileListBuilder::buildForm()
- 3.5.x src/LingotekProfileListBuilder.php \Drupal\lingotek\LingotekProfileListBuilder::buildForm()
- 3.6.x src/LingotekProfileListBuilder.php \Drupal\lingotek\LingotekProfileListBuilder::buildForm()
- 3.7.x src/LingotekProfileListBuilder.php \Drupal\lingotek\LingotekProfileListBuilder::buildForm()
- 3.8.x src/LingotekProfileListBuilder.php \Drupal\lingotek\LingotekProfileListBuilder::buildForm()
Form constructor.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Return value
array The form structure.
Overrides DraggableListBuilder::buildForm
File
- src/
LingotekProfileListBuilder.php, line 126
Class
- LingotekProfileListBuilder
- Defines a class to build a listing of Lingotek profile entities.
Namespace
Drupal\lingotekCode
public function buildForm(array $form, FormStateInterface $form_state) {
$form = parent::buildForm($form, $form_state);
$form[$this->entitiesKey]['#profiles'] = $this->entities;
$form['actions']['submit']['#value'] = t('Save configuration');
return $form;
}