-
Notifications
You must be signed in to change notification settings - Fork 0
/
TermSettingsForm.php
45 lines (39 loc) · 984 Bytes
/
TermSettingsForm.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
/**
* @file
* Contains \Drupal\example_module\Form\TermSettingsForm.
*/
namespace Drupal\example_module\Form;
use Drupal\Core\Form\FormBase;
use Drupal\Core\Form\FormStateInterface;
/**
* Class ContentEntityExampleSettingsForm.
*
* @package Drupal\example_module\Form
*
* @ingroup dictionary
*/
class TermSettingsForm extends FormBase {
/**
* Returns a unique string identifying the form.
*
* @return string
* The unique string identifying the form.
*/
public function getFormId() {
return 'dictionary_term_settings';
}
/**
* {@inheritdoc}
*/
public function submitForm(array &$form, FormStateInterface $form_state) {
// Empty implementation of the abstract submit class.
}
/**
* {@inheritdoc}
*/
public function buildForm(array $form, FormStateInterface $form_state) {
$form['dictionary_term_settings']['#markup'] = 'Settings form for Dictionary Term. Manage field settings here.';
return $form;
}
}