WordLevelDiff

@todo document @private @subpackage DifferenceEngine Hierarchy class \Drupal\Component\Diff\Diffclass \Drupal\Component\Diff\MappedDiffclass \Drupal\Component\Diff\WordLevelDiff File core/lib/Drupal/Component/Diff/WordLevelDiff.php, line 13 Namespace Drupal\Component\Diff Members Name Modifiers Type Description Diff::$edits protected property The list of differences as an array of diff operations. Diff::check public function Check a Diff for validity. Diff::g

ConfigMapperManagerInterface::hasTranslatable

public ConfigMapperManagerInterface::hasTranslatable($name) Returns TRUE if the configuration data has translatable items. Parameters string $name: Configuration key. Return value bool A boolean indicating if the configuration data has translatable items. File core/modules/config_translation/src/ConfigMapperManagerInterface.php, line 33 Class ConfigMapperManagerInterface Provides a common interface for config mapper managers. Namespace Drupal\config_translation Code public function h

Query::$connection

Type: \Drupal\Core\Database\Connection File core/lib/Drupal/Core/Entity/Query/Sql/Query.php, line 47 Class Query The SQL storage entity query class. Namespace Drupal\Core\Entity\Query\Sql Code protected $connection;

ImageStyleDeleteForm::getReplacementOptions

protected ImageStyleDeleteForm::getReplacementOptions() Returns a list of image style replacement options. Return value array An option list suitable for the form select '#options'. File core/modules/image/src/Form/ImageStyleDeleteForm.php, line 76 Class ImageStyleDeleteForm Creates a form to delete an image style. Namespace Drupal\image\Form Code protected function getReplacementOptions() { if (!isset($this->replacementOptions)) { $this->replacementOptions = array_diff_ke

RouteProvider::getRoutesByNames

public RouteProvider::getRoutesByNames($names) Find many routes by their names using the provided list of names. Note that this method may not throw an exception if some of the routes are not found or are not actually Route instances. It will just return the list of those Route instances it found. This method exists in order to allow performance optimizations. The simple implementation could be to just repeatedly call $this->getRouteByName() while catching and ignoring eventual exceptions. I

PageDisplayVariantSelectionEvent::getContexts

public PageDisplayVariantSelectionEvent::getContexts() Gets the contexts that were set during event dispatch. Return value \Drupal\Component\Plugin\Context\ContextInterface[] An array of set contexts, keyed by context name. File core/lib/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php, line 127 Class PageDisplayVariantSelectionEvent Event fired when rendering main content, to select a page display variant. Namespace Drupal\Core\Render Code public function getContexts() { ret

Hidden::preRenderHidden

public static Hidden::preRenderHidden($element) Prepares a #type 'hidden' render element for input.html.twig. Parameters array $element: An associative array containing the properties of the element. Properties used: #name, #value, #attributes. Return value array The $element with prepared variables ready for input.html.twig. File core/lib/Drupal/Core/Render/Element/Hidden.php, line 56 Class Hidden Provides a form element for an HTML 'hidden' input element. Namespace Drupal\Core\Rende

DatabaseQueue::catchException

protected DatabaseQueue::catchException(\Exception $e) Act on an exception when queue might be stale. If the table does not yet exist, that's fine, but if the table exists and yet the query failed, then the queue is stale and the exception needs to propagate. Parameters $e: The exception. Throws \Exception If the table exists the exception passed in is rethrown. File core/lib/Drupal/Core/Queue/DatabaseQueue.php, line 272 Class DatabaseQueue Default queue implementation. Namespace Drup

_batch_api_percentage

_batch_api_percentage($total, $current) Formats the percent completion for a batch set. Parameters int $total: The total number of operations. int|float $current: The number of the current operation. This may be a floating point number rather than an integer in the case of a multi-step operation that is not yet complete; in that case, the fractional part of $current represents the fraction of the operation that has been completed. Return value string The properly formatted percentage, as a st

PoStreamReader::$_header

The PO stream header. Type: \Drupal\Component\Gettext\PoHeader File core/lib/Drupal/Component/Gettext/PoStreamReader.php, line 77 Class PoStreamReader Implements Gettext PO stream reader. Namespace Drupal\Component\Gettext Code private $_header;