You are here

public function ParagraphsCategoryListBuilder::buildForm in Paragraphs Editor Enhancements 8

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/Controller/ParagraphsCategoryListBuilder.php, line 98

Class

ParagraphsCategoryListBuilder
Provides a listing of Paragraph category entities.

Namespace

Drupal\paragraphs_ee\Controller

Code

public function buildForm(array $form, FormStateInterface $form_state) {
  $form = parent::buildForm($form, $form_state);
  $form['actions']['submit']['#value'] = $this
    ->t('Save');
  return $form;
}