Skip to content
This repository was archived by the owner on Jan 5, 2018. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions src/Form/FileSettingsForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@
*/

namespace Drupal\file_entity\Form;
use Drupal\Core\Form\FormBase;

use Drupal\Core\Form\ConfigFormBase;
use Drupal\Core\Form\FormStateInterface;

/**
* Class FileSettingsForm
* @package Drupal\file_entity\Form
*/
class FileSettingsForm extends FormBase {
class FileSettingsForm extends ConfigFormBase {

/**
* Returns a unique string identifying the form.
Expand All @@ -23,6 +24,15 @@ class FileSettingsForm extends FormBase {
public function getFormId() {
return 'file_settings';
}

/**
* {@inheritdoc}
*/
protected function getEditableConfigNames() {
return [
'file_entity.settings',
];
}

/**
* {@inheritdoc}
Expand Down