BareHtmlPageRenderer::$renderer

The renderer service. Type: \Drupal\Core\Render\Renderer File core/lib/Drupal/Core/Render/BareHtmlPageRenderer.php, line 15 Class BareHtmlPageRenderer Default bare HTML page renderer. Namespace Drupal\Core\Render Code protected $renderer;

BookManager::updateParent

protected BookManager::updateParent(array $link) Sets the has_children flag of the parent of the node. This method is mostly called when a book link is moved/created etc. So we want to update the has_children flag of the new parent book link. Parameters array $link: The book link, data reflecting its new position, whose new parent we want to update. Return value bool TRUE if the update was successful (either there is no parent to update, or the parent was updated successfully), FALSE on failu

ConfigurableLanguage::setName

public ConfigurableLanguage::setName($name) Sets the name of the language. Parameters string $name: The human-readable English name of the language. Return value $this Overrides ConfigurableLanguageInterface::setName File core/modules/language/src/Entity/ConfigurableLanguage.php, line 199 Class ConfigurableLanguage Defines the ConfigurableLanguage entity. Namespace Drupal\language\Entity Code public function setName($name) { $this->label = $name; return $this; }

ContextualController::render

public ContextualController::render(Request $request) Returns the requested rendered contextual links. Given a list of contextual links IDs, render them. Hence this must be robust to handle arbitrary input. Return value \Symfony\Component\HttpFoundation\JsonResponse The JSON response. See also contextual_preprocess() File core/modules/contextual/src/ContextualController.php, line 29 Class ContextualController Returns responses for Contextual module routes. Namespace Drupal\contextual

Feed::setImage

public Feed::setImage($image) Sets the primary image attached to the feed. Parameters string $image: An image URL. Return value \Drupal\aggregator\FeedInterface The class instance that this method is called on. Overrides FeedInterface::setImage File core/modules/aggregator/src/Entity/Feed.php, line 360 Class Feed Defines the aggregator feed entity class. Namespace Drupal\aggregator\Entity Code public function setImage($image) { $this->set('image', $image); return $this; }

QueryBase::$sort

The list of sorts. Type: array File core/lib/Drupal/Core/Entity/Query/QueryBase.php, line 32 Class QueryBase The base entity query class. Namespace Drupal\Core\Entity\Query Code protected $sort = array();

AuthenticationManager::__construct

public AuthenticationManager::__construct(AuthenticationCollectorInterface $auth_collector) Creates a new authentication manager instance. Parameters \Drupal\Core\Authentication\AuthenticationCollectorInterface $auth_collector: The authentication provider collector. File core/lib/Drupal/Core/Authentication/AuthenticationManager.php, line 33 Class AuthenticationManager Manager for authentication. Namespace Drupal\Core\Authentication Code public function __construct(AuthenticationCollec

MetadataGenerator::generateFieldMetadata

public MetadataGenerator::generateFieldMetadata(FieldItemListInterface $items, $view_mode) Generates in-place editing metadata for an entity field. Parameters \Drupal\Core\Field\FieldItemListInterface $items: The field values to be in-place edited. string $view_mode: The view mode the field should be rerendered in. Return value array An array containing metadata with the following keys: label: the user-visible label for the field. access: whether the current user may edit the field or not.

OptimizedPhpArrayDumper::getAliases

protected OptimizedPhpArrayDumper::getAliases() Gets the aliases as a PHP array. Return value array The aliases. File core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper.php, line 78 Class OptimizedPhpArrayDumper OptimizedPhpArrayDumper dumps a service container as a serialized PHP array. Namespace Drupal\Component\DependencyInjection\Dumper Code protected function getAliases() { $alias_definitions = array(); $aliases = $this->container->getAliases(

SSH::getSettingsForm

public SSH::getSettingsForm() Returns a form to collect connection settings credentials. Implementing classes can either extend this form with fields collecting the specific information they need, or override it entirely. Return value array An array that contains a Form API definition. Overrides FileTransfer::getSettingsForm File core/lib/Drupal/Core/FileTransfer/SSH.php, line 140 Class SSH The SSH connection class for the update module. Namespace Drupal\Core\FileTransfer Code public