MailFormatHelper::$urls

Internal array of urls replaced with tokens. Type: array File core/lib/Drupal/Core/Mail/MailFormatHelper.php, line 20 Class MailFormatHelper Defines a class containing utility methods for formatting mail messages. Namespace Drupal\Core\Mail Code protected static $urls = array();

MailFormatHelper::$supportedTags

Array of tags supported. Type: array File core/lib/Drupal/Core/Mail/MailFormatHelper.php, line 34 Class MailFormatHelper Defines a class containing utility methods for formatting mail messages. Namespace Drupal\Core\Mail Code protected static $supportedTags = array();

MailFormatHelper::$regexp

Quoted regex expression based on base path. Type: string File core/lib/Drupal/Core/Mail/MailFormatHelper.php, line 27 Class MailFormatHelper Defines a class containing utility methods for formatting mail messages. Namespace Drupal\Core\Mail Code protected static $regexp;

MailFormatHelper

Defines a class containing utility methods for formatting mail messages. Hierarchy class \Drupal\Core\Mail\MailFormatHelper File core/lib/Drupal/Core/Mail/MailFormatHelper.php, line 13 Namespace Drupal\Core\Mail Members Name Modifiers Type Description MailFormatHelper::$regexp protected static property Quoted regex expression based on base path. MailFormatHelper::$supportedTags protected static property Array of tags supported. MailFormatHelper::$urls protect

Mail::$label

The human-readable name of the mail plugin. Type: \Drupal\Core\Annotation\Translation Related topics Annotation for translatable text Describes how to put translatable UI text into annotations. File core/lib/Drupal/Core/Annotation/Mail.php, line 36 Class Mail Defines a Mail annotation object. Namespace Drupal\Core\Annotation Code public $label;

Mail::$id

The plugin ID. Type: string File core/lib/Drupal/Core/Annotation/Mail.php, line 27 Class Mail Defines a Mail annotation object. Namespace Drupal\Core\Annotation Code public $id;

Mail::$description

A short description of the mail plugin. Type: \Drupal\Core\Annotation\Translation Related topics Annotation for translatable text Describes how to put translatable UI text into annotations. File core/lib/Drupal/Core/Annotation/Mail.php, line 45 Class Mail Defines a Mail annotation object. Namespace Drupal\Core\Annotation Code public $description;

Mail

Defines a Mail annotation object. Plugin Namespace: Plugin\Mail For a working example, see \Drupal\Core\Mail\Plugin\Mail\PhpMail Hierarchy class \Drupal\Component\Annotation\Plugin implements AnnotationInterfaceclass \Drupal\Core\Annotation\Mail See also \Drupal\Core\Mail\MailInterface \Drupal\Core\Mail\MailManager Plugin API Related topics Annotations Annotations for class discovery and metadata description. File core/lib/Drupal/Core/Annotation/Mail.php, line 20 Namespace Drupal\Cor

MachineName::valueCallback

public static MachineName::valueCallback(&$element, $input, FormStateInterface $form_state) Determines how user input is mapped to an element's #value property. Parameters array $element: An associative array containing the properties of the element. mixed $input: The incoming input to populate the form element. If this is FALSE, the element's default value should be returned. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value mixed The value to

MachineName::validateMachineName

public static MachineName::validateMachineName(&$element, FormStateInterface $form_state, &$complete_form) Form element validation handler for machine_name elements. Note that #maxlength is validated by _form_validate() already. This checks that the submitted value: Does not contain the replacement character only. Does not contain disallowed characters. Is unique; i.e., does not already exist. Does not exceed the maximum length (via #maxlength). Cannot be changed after creation (via #di