class LibraryItemSettingsForm

Form for Paragraphs library item settings.

Hierarchy

Expanded class hierarchy of LibraryItemSettingsForm

1 string reference to 'LibraryItemSettingsForm'
paragraphs_library.routing.yml in paragraphs/modules/paragraphs_library/paragraphs_library.routing.yml
paragraphs/modules/paragraphs_library/paragraphs_library.routing.yml

File

paragraphs/modules/paragraphs_library/src/Form/LibraryItemSettingsForm.php, line 11

Namespace

Drupal\paragraphs_library\Form
View source
class LibraryItemSettingsForm extends ConfigFormBase {

  /**
   * {@inheritdoc}
   */
  public function getFormId() {
    return 'paragraphs_library_item_settings';
  }

  /**
   * {@inheritdoc}
   */
  protected function getEditableConfigNames() {
    return [];
  }

  /**
   * {@inheritdoc}
   */
  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 parent::buildForm($form, $form_state);
  }

}

Members