class AdminSettingsEvent in Smart IP 8.4
Same name and namespace in other branches
- 8.2 src/AdminSettingsEvent.php \Drupal\smart_ip\AdminSettingsEvent
- 8.3 src/AdminSettingsEvent.php \Drupal\smart_ip\AdminSettingsEvent
Provides Smart IP admin settings override event for event listeners.
@package Drupal\smart_ip
Hierarchy
- class \Drupal\smart_ip\AdminSettingsEvent extends \Symfony\Component\EventDispatcher\Event
Expanded class hierarchy of AdminSettingsEvent
6 files declare their use of AdminSettingsEvent
- SmartIpEventSubscriber.php in modules/
device_geolocation/ src/ EventSubscriber/ SmartIpEventSubscriber.php - Contains \Drupal\device_geolocation\EventSubscriber\SmartIpEventSubscriber.
- SmartIpEventSubscriber.php in modules/
smart_ip_maxmind_geoip2_bin_db/ src/ EventSubscriber/ SmartIpEventSubscriber.php - Contains \Drupal\smart_ip_maxmind_geoip2_bin_db\EventSubscriber\SmartIpEventSubscriber.
- SmartIpEventSubscriber.php in modules/
smart_ip_ipinfodb_web_service/ src/ EventSubscriber/ SmartIpEventSubscriber.php - Contains \Drupal\smart_ip_ipinfodb_web_service\EventSubscriber\SmartIpEventSubscriber.
- SmartIpEventSubscriber.php in modules/
smart_ip_ip2location_bin_db/ src/ EventSubscriber/ SmartIpEventSubscriber.php - Contains \Drupal\smart_ip_ip2location_bin_db\EventSubscriber\SmartIpEventSubscriber.
- SmartIpEventSubscriber.php in modules/
smart_ip_abstract_web_service/ src/ EventSubscriber/ SmartIpEventSubscriber.php - Contains \Drupal\smart_ip_abstract_web_service\EventSubscriber\SmartIpEventSubscriber.
1 string reference to 'AdminSettingsEvent'
1 service uses AdminSettingsEvent
File
- src/
AdminSettingsEvent.php, line 18 - Contains \Drupal\smart_ip\AdminSettingsEvent.
Namespace
Drupal\smart_ipView source
class AdminSettingsEvent extends Event {
/**
* Contains array of configuration names that will be editable.
*
* @var array
*/
protected $editableConfigNames;
/**
* Contains Smart IP admin settings $form.
*
* @var array
*/
protected $form;
/**
* Contains Smart IP admin settings $form.
*
* @var \Drupal\Core\Form\FormStateInterface
*/
protected $formState;
/**
* Get Form.
*
* @return array
* An associative array containing the structure of the form.
*/
public function getForm() {
return $this->form;
}
/**
* Set Form.
*
* @param array $form
* An associative array containing the structure of the form.
*/
public function setForm(array $form) {
$this->form = $form;
}
/**
* Form State.
*
* @return \Drupal\Core\Form\FormStateInterface
* The current state of the form.
*/
public function getFormState() {
return $this->formState;
}
/**
* Set the state of form.
*
* @param \Drupal\Core\Form\FormStateInterface $formState
* The current state of the form.
*/
public function setFormState(FormStateInterface $formState) {
$this->formState = $formState;
}
/**
* Get the config names.
*
* @return array
* Config names.
*/
public function getEditableConfigNames() {
return $this->editableConfigNames;
}
/**
* Set the config names.
*
* @param array $editableConfigNames
* Config names.
*/
public function setEditableConfigNames(array $editableConfigNames) {
$this->editableConfigNames = $editableConfigNames;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AdminSettingsEvent:: |
protected | property | Contains array of configuration names that will be editable. | |
AdminSettingsEvent:: |
protected | property | Contains Smart IP admin settings $form. | |
AdminSettingsEvent:: |
protected | property | Contains Smart IP admin settings $form. | |
AdminSettingsEvent:: |
public | function | Get the config names. | |
AdminSettingsEvent:: |
public | function | Get Form. | |
AdminSettingsEvent:: |
public | function | Form State. | |
AdminSettingsEvent:: |
public | function | Set the config names. | |
AdminSettingsEvent:: |
public | function | Set Form. | |
AdminSettingsEvent:: |
public | function | Set the state of form. |