You are here

public function DomainElementManager::getSubmitHandler in Domain Access 8

Returns the default submit handler to be used for a field element.

Return value

string A fully-qualified class and method name, such as '\\Drupal\\domain\\DomainElementManager::submitEntityForm'

The method must be public and static, since it will be called from the form submit handler without knowledge of the parent class.

The base implementation is submitEntityForm, and can be overridden by specific subclasses.

Overrides DomainElementManagerInterface::getSubmitHandler

1 call to DomainElementManager::getSubmitHandler()
DomainElementManager::setFormOptions in domain/src/DomainElementManager.php
Resets form options and stores hidden values that the user cannot change.

File

domain/src/DomainElementManager.php, line 195

Class

DomainElementManager
Generic base class for handling hidden field options.

Namespace

Drupal\domain

Code

public function getSubmitHandler() {
  return '\\Drupal\\domain\\DomainElementManager::submitEntityForm';
}