MachineName::processMachineName

public static MachineName::processMachineName(&$element, FormStateInterface $form_state, &$complete_form) Processes a machine-readable name form element. Parameters array $element: The form element to process. See main class documentation for properties. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. array $complete_form: The complete form structure. Return value array The processed element. File core/lib/Drupal/Core/Render/Element/MachineName.php, li

MachineName::getInfo

public MachineName::getInfo() Returns the element properties for this element. Return value array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format. Overrides Textfield::getInfo File core/lib/Drupal/Core/Render/Element/MachineName.php, line 76 Class MachineName Provides a machine name render element. Namespace Drupal\Core\Render\Element Code public fun

MachineName

Provides a machine name render element. Provides a form element to enter a machine name, which is validated to ensure that the name is unique and does not contain disallowed characters. The element may be automatically populated via JavaScript when used in conjunction with a separate "source" form element (typically specifying the human-readable name). As the user types text into the source element, the JavaScript converts all values to lower case, replaces any remaining disallowed characters w

LogMessageParserInterface::parseMessagePlaceholders

public LogMessageParserInterface::parseMessagePlaceholders(&$message, array &$context) Parses and transforms message and its placeholders to a common format. For a value to be considered as a placeholder should be in the following formats: PSR3 format: Drupal specific string placeholder format: Values in PSR3 format will be transformed to SafeMarkup::format() format. Parameters string $message: The message that contains the placeholders. If the message is in PSR3 style, it will be t

LogMessageParserInterface

Defines an interface for parsing log messages and their placeholders. Hierarchy interface \Drupal\Core\Logger\LogMessageParserInterface File core/lib/Drupal/Core/Logger/LogMessageParserInterface.php, line 8 Namespace Drupal\Core\Logger Members Name Modifiers Type Description LogMessageParserInterface::parseMessagePlaceholders public function Parses and transforms message and its placeholders to a common format.

LogMessageParser::parseMessagePlaceholders

public LogMessageParser::parseMessagePlaceholders(&$message, array &$context) Parses and transforms message and its placeholders to a common format. For a value to be considered as a placeholder should be in the following formats: PSR3 format: Drupal specific string placeholder format: Values in PSR3 format will be transformed to SafeMarkup::format() format. Parameters string $message: The message that contains the placeholders. If the message is in PSR3 style, it will be transforme

LogMessageParser

Parses log messages and their placeholders. Hierarchy class \Drupal\Core\Logger\LogMessageParser implements LogMessageParserInterface File core/lib/Drupal/Core/Logger/LogMessageParser.php, line 8 Namespace Drupal\Core\Logger Members Name Modifiers Type Description LogMessageParser::parseMessagePlaceholders public function Parses and transforms message and its placeholders to a common format. Overrides LogMessageParserInterface::parseMessagePlaceholders

LoggingForm::submitForm

public LoggingForm::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides ConfigFormBase::submitForm File core/modules/system/src/Form/LoggingForm.php, line 51 Class LoggingForm Configure logging settings for this site. Namespace Drupal\system\Form Code public function submitForm(ar

LoggingForm::getFormId

public LoggingForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/system/src/Form/LoggingForm.php, line 16 Class LoggingForm Configure logging settings for this site. Namespace Drupal\system\Form Code public function getFormId() { return 'system_logging_settings'; }

LoggingForm::getEditableConfigNames

protected LoggingForm::getEditableConfigNames() Gets the configuration names that will be editable. Return value array An array of configuration object names that are editable if called in conjunction with the trait's config() method. Overrides ConfigFormBaseTrait::getEditableConfigNames File core/modules/system/src/Form/LoggingForm.php, line 23 Class LoggingForm Configure logging settings for this site. Namespace Drupal\system\Form Code protected function getEditableConfigNames() {