Form for Paragraphs library item settings.
Expanded class hierarchy of LibraryItemSettingsForm
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);
}
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
LibraryItemSettingsForm:: |
public | function | ||
LibraryItemSettingsForm:: |
protected | function | ||
LibraryItemSettingsForm:: |
public | function |