TranslationStatusForm

Provides a translation status form. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\locale\Form\TranslationStatusForm File core/modules/locale/src/Form/TranslationStatusForm.php, line 14 Namespace Drupal\locale\Form Members Name Modifiers Type Description DependencySerializa

Select::orderBy

public Select::orderBy($field, $direction = 'ASC') Overrides SelectQuery::orderBy(). PostgreSQL adheres strictly to the SQL-92 standard and requires that when using DISTINCT or GROUP BY conditions, fields and expressions that are ordered on also need to be selected. This is a best effort implementation to handle the cases that can be automated by adding the field if it is not yet selected. $query = db_select('example', 'e'); $query->join('example_revision', 'er', 'e.vid = er.vid'); $qu

Renderer::render

public Renderer::render(&$elements, $is_root_call = FALSE) Renders HTML given a structured array tree. Renderable arrays have two kinds of key/value pairs: properties and children. Properties have keys starting with '#' and their values influence how the array will be rendered. Children are all elements whose keys do not start with a '#'. Their values should be renderable arrays themselves, which will be rendered during the rendering of the parent array. The markup provided by the children

CssCollectionRenderer

Renders CSS assets. For production websites, LINK tags are preferable to STYLE tags with @import statements, because: They are the standard tag intended for linking to a resource. On Firefox 2 and perhaps other browsers, CSS files included with @import statements don't get saved when saving the complete web page for offline use: https://www.drupal.org/node/145218. On IE, if only LINK tags and no @import statements are used, all the CSS files are downloaded in parallel, resulting in faster page

MailManager::doMail

public MailManager::doMail($module, $key, $to, $langcode, $params = array(), $reply = NULL, $send = TRUE) Composes and optionally sends an email message. Parameters string $module: A module name to invoke hook_mail() on. The {$module}_mail() hook will be called to complete the $message structure which will already contain common defaults. string $key: A key to identify the email sent. The final message ID for email altering will be {$module}_{$key}. string $to: The email address or addresses w

PasswordConfirm

Provides a form element for double-input of passwords. Formats as a pair of password fields, which do not validate unless the two entered passwords match. Usage example: $form['pass'] = array( '#type' => 'password_confirm', '#title' => $this->t('Password'), '#size' => 25, ); Plugin annotation @FormElement("password_confirm") Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterfaceclass \Drupal\Core\Plugin\PluginB

ImageButton

Provides a form element for a submit button with an image. Plugin annotation @FormElement("image_button") Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterfaceclass \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Render\Element\RenderElement implements ElementInterfaceclass \Drupal\Core\Render\Element\FormElement implements FormElementInterfaceclass \Drupal\Core\Render\E

Page

Provides a render element for the content of an HTML page. This represents the "main part" of the HTML page's body; see html.html.twig. Plugin annotation @RenderElement("page") Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterfaceclass \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Render\Element\RenderElement implements ElementInterfaceclass \Drupal\Core\Render\Element

check_markup

check_markup($text, $format_id = NULL, $langcode = '', $filter_types_to_skip = array()) Runs all the enabled filters on a piece of text. Note: Because filters can inject JavaScript or execute PHP code, security is vital here. When a user supplies a text format, you should validate it using $format->access() before accepting/using it. This is normally done in the validation stage of the Form API. You should for example never make a preview of content in a disallowed format. Note: this functio

LocaleController

Return response for manual check translations. Hierarchy class \Drupal\Core\Controller\ControllerBase implements ContainerInjectionInterface uses LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\locale\Controller\LocaleController File core/modules/locale/src/Controller/LocaleController.php, line 10 Namespace Drupal\locale\Controller Members Name Modifiers Type Description ControllerBase::$configFactory