Diff::closing

public Diff::closing() Gets the closing set of lines. This reconstructs the $to_lines parameter passed to the constructor. Return value array The sequence of strings. File core/lib/Drupal/Component/Diff/Diff.php, line 117 Class Diff Class representing a 'diff' between two sequences of strings. @todo document @subpackage DifferenceEngine Namespace Drupal\Component\Diff Code public function closing() { $lines = array(); foreach ($this->edits as $edit) { if ($edit->closing

Diff::check

public Diff::check($from_lines, $to_lines) Check a Diff for validity. This is here only for debugging purposes. File core/lib/Drupal/Component/Diff/Diff.php, line 133 Class Diff Class representing a 'diff' between two sequences of strings. @todo document @subpackage DifferenceEngine Namespace Drupal\Component\Diff Code public function check($from_lines, $to_lines) { if (serialize($from_lines) != serialize($this->orig())) { trigger_error("Reconstructed original doesn't match",

Diff::$edits

The list of differences as an array of diff operations. Type: \Drupal\Component\Diff\Engine\DiffOp[] File core/lib/Drupal/Component/Diff/Diff.php, line 24 Class Diff Class representing a 'diff' between two sequences of strings. @todo document @subpackage DifferenceEngine Namespace Drupal\Component\Diff Code protected $edits;

Diff

Class representing a 'diff' between two sequences of strings. @todo document @subpackage DifferenceEngine Copied from https://www.drupal.org/project/diff which was based PHP diff engine for phpwiki. (Taken from phpwiki-1.3.3) The original code in phpwiki was copyright (C) 2000, 2001 Geoffrey T. Dairiki <dairiki@dairiki.org> and licensed under GPL. Hierarchy class \Drupal\Component\Diff\Diff File core/lib/Drupal/Component/Diff/Diff.php, line 17 Namespace Drupal\Component\Diff Memb

DialogRenderer::__construct

public DialogRenderer::__construct(TitleResolverInterface $title_resolver) Constructs a new DialogRenderer. Parameters \Drupal\Core\Controller\TitleResolverInterface $title_resolver: The title resolver. File core/lib/Drupal/Core/Render/MainContent/DialogRenderer.php, line 30 Class DialogRenderer Default main content renderer for dialog requests. Namespace Drupal\Core\Render\MainContent Code public function __construct(TitleResolverInterface $title_resolver) { $this->titleResolver

DialogRenderer::renderResponse

public DialogRenderer::renderResponse(array $main_content, Request $request, RouteMatchInterface $route_match) Renders the main content render array into a response. Parameters array $main_content: The render array representing the main content. \Symfony\Component\HttpFoundation\Request $request: The request object, for context. \Drupal\Core\Routing\RouteMatchInterface $route_match: The route match, for context. Return value \Symfony\Component\HttpFoundation\Response The Response in the forma

DialogRenderer::determineTargetSelector

protected DialogRenderer::determineTargetSelector(array &$options, RouteMatchInterface $route_match) Determine the target selector for the OpenDialogCommand. Parameters array &$options: The 'target' option, if set, is used, and then removed from $options. RouteMatchInterface $route_match: When no 'target' option is set in $options, $route_match is used instead to determine the target. Return value string The target selector. File core/lib/Drupal/Core/Render/MainContent/DialogRenderer.

DialogRenderer::$titleResolver

The title resolver. Type: \Drupal\Core\Controller\TitleResolverInterface File core/lib/Drupal/Core/Render/MainContent/DialogRenderer.php, line 22 Class DialogRenderer Default main content renderer for dialog requests. Namespace Drupal\Core\Render\MainContent Code protected $titleResolver;

DialogRenderer

Default main content renderer for dialog requests. Hierarchy class \Drupal\Core\Render\MainContent\DialogRenderer implements MainContentRendererInterface File core/lib/Drupal/Core/Render/MainContent/DialogRenderer.php, line 15 Namespace Drupal\Core\Render\MainContent Members Name Modifiers Type Description DialogRenderer::$titleResolver protected property The title resolver. DialogRenderer::determineTargetSelector protected function Determine the target selector

Details::preRenderDetails

public static Details::preRenderDetails($element) Adds form element theming to details. Parameters $element: An associative array containing the properties and children of the details. Return value The modified element. File core/lib/Drupal/Core/Render/Element/Details.php, line 69 Class Details Provides a render element for a details element, similar to a fieldset. Namespace Drupal\Core\Render\Element Code public static function preRenderDetails($element) { Element::setAttributes($