arch-8.x-1.x-dev/modules/order/modules/addressbook/src/Form/AddressbookitemSettingsForm.php
modules/order/modules/addressbook/src/Form/AddressbookitemSettingsForm.php
<?php
namespace Drupal\arch_addressbook\Form;
use Drupal\Core\Form\FormBase;
use Drupal\Core\Form\FormStateInterface;
/**
* Address book item settings form.
*
* @package Drupal\arch_addressbook\Form
*/
class AddressbookitemSettingsForm extends FormBase {
/**
* Returns a unique string identifying the form.
*
* @return string
* The unique string identifying the form.
*/
public function getFormId() {
return 'arch_addressbook_settings';
}
/**
* Form submission handler.
*
* @param array $form
* An associative array containing the structure of the form.
* @param \Drupal\Core\Form\FormStateInterface $form_state
* An associative array containing the current state of the form.
*/
public function submitForm(array &$form, FormStateInterface $form_state) {
// Empty implementation of the abstract submit class.
}
/**
* Define the form used for ContentEntityExample settings.
*
* @param array $form
* An associative array containing the structure of the form.
* @param \Drupal\Core\Form\FormStateInterface $form_state
* An associative array containing the current state of the form.
*
* @return array
* Form definition array.
*/
public function buildForm(array $form, FormStateInterface $form_state) {
$form['addressbookitem_settings']['#markup'] = 'Settings form for AddressBookItem. Manage field settings here.';
return $form;
}
}
