You are here

public function LibraryItemSettingsForm::buildForm in Paragraphs 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 ConfigFormBase::buildForm

File

modules/paragraphs_library/src/Form/LibraryItemSettingsForm.php, line 30

Class

LibraryItemSettingsForm
Form for Paragraphs library item settings.

Namespace

Drupal\paragraphs_library\Form

Code

public function buildForm(array $form, FormStateInterface $form_state) {

  // This exists to make the field UI pages visible and must not be removed.
  $form['account'] = array(
    '#markup' => '<p>' . $this
      ->t('There are no settings yet.') . '</p>',
  );
  return $form;
}