HWLDFWordAccumulator

@todo document @private @subpackage DifferenceEngine Hierarchy class \Drupal\Component\Diff\Engine\HWLDFWordAccumulator File core/lib/Drupal/Component/Diff/Engine/HWLDFWordAccumulator.php, line 16 Namespace Drupal\Component\Diff\Engine Members Name Modifiers Type Description HWLDFWordAccumulator::$group protected property HWLDFWordAccumulator::$line protected property HWLDFWordAccumulator::$lines protected property HWLDFWordAccumulator::$tag protected

HttpExceptionSubscriberBase::onException

public HttpExceptionSubscriberBase::onException(GetResponseForExceptionEvent $event) Handles errors for this subscriber. Parameters \Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent $event: The event to process. File core/lib/Drupal/Core/EventSubscriber/HttpExceptionSubscriberBase.php, line 80 Class HttpExceptionSubscriberBase Utility base class for exception subscribers. Namespace Drupal\Core\EventSubscriber Code public function onException(GetResponseForExceptionEvent

HttpExceptionSubscriberBase::getSubscribedEvents

public static HttpExceptionSubscriberBase::getSubscribedEvents() Registers the methods in this class that should be listeners. Return value array An array of event listener definitions. Overrides EventSubscriberInterface::getSubscribedEvents File core/lib/Drupal/Core/EventSubscriber/HttpExceptionSubscriberBase.php, line 109 Class HttpExceptionSubscriberBase Utility base class for exception subscribers. Namespace Drupal\Core\EventSubscriber Code public static function getSubscribedEven

HttpExceptionSubscriberBase::getPriority

protected static HttpExceptionSubscriberBase::getPriority() Specifies the priority of all listeners in this class. The default priority is 1, which is very low. To have listeners that have a "first attempt" at handling exceptions return a higher priority. Return value int The event priority of this subscriber. File core/lib/Drupal/Core/EventSubscriber/HttpExceptionSubscriberBase.php, line 70 Class HttpExceptionSubscriberBase Utility base class for exception subscribers. Namespace Drupa

HttpExceptionSubscriberBase::getHandledFormats

abstract protected HttpExceptionSubscriberBase::getHandledFormats() Specifies the request formats this subscriber will respond to. Return value array An indexed array of the format machine names that this subscriber will attempt to process, such as "html" or "json". Returning an empty array will apply to all formats. See also \Symfony\Component\HttpFoundation\Request File core/lib/Drupal/Core/EventSubscriber/HttpExceptionSubscriberBase.php, line 59 Class HttpExceptionSubscriberBase Utili

HttpExceptionSubscriberBase

Utility base class for exception subscribers. A subscriber may extend this class and implement getHandledFormats() to indicate which request formats it will respond to. Then implement an on*() method for any error code (HTTP response code) that should be handled. For example, to handle 404 Not Found messages add a method: public function on404(GetResponseForExceptionEvent $event) {} That method should then call $event->setResponse() to set the response object for the exception. Alternative

HtmlTag::preRenderHtmlTag

public static HtmlTag::preRenderHtmlTag($element) Pre-render callback: Renders a generic HTML tag with attributes into #markup. Parameters array $element: An associative array containing: #tag: The tag name to output. Typical tags added to the HTML HEAD: meta: To provide meta information, such as a page refresh. link: To refer to stylesheets and other contextual information. script: To load JavaScript. The value of #tag is escaped. #attributes: (optional) An array of HTML attributes to a

HtmlTag::preRenderConditionalComments

public static HtmlTag::preRenderConditionalComments($element) Pre-render callback: Renders #browsers into #prefix and #suffix. Parameters array $element: A render array with a '#browsers' property. The '#browsers' property can contain any or all of the following keys: 'IE': If FALSE, the element is not rendered by Internet Explorer. If TRUE, the element is rendered by Internet Explorer. Can also be a string containing an expression for Internet Explorer to evaluate as part of a conditional co

HtmlTag::getInfo

public HtmlTag::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 ElementInterface::getInfo File core/lib/Drupal/Core/Render/Element/HtmlTag.php, line 49 Class HtmlTag Provides a render element for any HTML tag, with properties and value. Namespace Drupal\Core\Rende

HtmlTag::$voidElements

Void elements do not contain values or closing tags. See also http://www.w3.org/TR/html5/syntax.html#syntax-start-tag http://www.w3.org/TR/html5/syntax.html#void-elements File core/lib/Drupal/Core/Render/Element/HtmlTag.php, line 41 Class HtmlTag Provides a render element for any HTML tag, with properties and value. Namespace Drupal\Core\Render\Element Code static protected $voidElements = array( 'area', 'base', 'br', 'col', 'embed', 'hr', 'img', 'input', 'keygen', 'link', 'meta',