public function CookieCategoryListBuilder::buildForm in EU Cookie Compliance (GDPR Compliance) 8
Same name and namespace in other branches
- 2.0.x src/CookieCategoryListBuilder.php \Drupal\eu_cookie_compliance\CookieCategoryListBuilder::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/
CookieCategoryListBuilder.php, line 58
Class
- CookieCategoryListBuilder
- Provides a listing of Cookie category entities.
Namespace
Drupal\eu_cookie_complianceCode
public function buildForm(array $form, FormStateInterface $form_state) {
$form = parent::buildForm($form, $form_state);
$form['actions']['submit']['#value'] = $this
->t('Save configuration');
return $form;
}