Drupal::l

public static Drupal::l($text, Url $url) Renders a link with a given link text and Url object. This method is a convenience wrapper for the link generator service's generate() method. For detailed documentation, see \Drupal\Core\Routing\LinkGeneratorInterface::generate(). Parameters string $text: The link text for the anchor tag. \Drupal\Core\Url $url: The URL object used for the link. Return value \Drupal\Core\GeneratedLink A GeneratedLink object containing a link to the given route and para

PoMemoryWriter::__construct

PoMemoryWriter::__construct() Constructor, initialize empty items. File core/lib/Drupal/Component/Gettext/PoMemoryWriter.php, line 20 Class PoMemoryWriter Defines a Gettext PO memory writer, to be used by the installer. Namespace Drupal\Component\Gettext Code function __construct() { $this->_items = array(); }

VariantBase::id

public VariantBase::id() Returns the unique ID for the display variant. Return value string The display variant ID. Overrides VariantInterface::id File core/lib/Drupal/Core/Display/VariantBase.php, line 50 Class VariantBase Provides a base class for DisplayVariant plugins. Namespace Drupal\Core\Display Code public function id() { return $this->configuration['uuid']; }

ImageToolkitManager::getDefaultToolkit

public ImageToolkitManager::getDefaultToolkit() Gets the default image toolkit. Return value \Drupal\Core\ImageToolkit\ImageToolkitInterface Object of the default toolkit, or FALSE on error. File core/lib/Drupal/Core/ImageToolkit/ImageToolkitManager.php, line 73 Class ImageToolkitManager Manages image toolkit plugins. Namespace Drupal\Core\ImageToolkit Code public function getDefaultToolkit() { if ($toolkit_id = $this->getDefaultToolkitId()) { return $this->createInstance(

FieldConfig::loadByName

public static FieldConfig::loadByName($entity_type_id, $bundle, $field_name) Loads a field config entity based on the entity type and field name. Parameters string $entity_type_id: ID of the entity type. string $bundle: Bundle name. string $field_name: Name of the field. Return value static The field config entity if one exists for the provided field name, otherwise NULL. File core/modules/field/src/Entity/FieldConfig.php, line 340 Class FieldConfig Defines the Field entity. Namespace

PoStreamReader::$_finished

Indicator of whether the stream reading is finished. Type: bool File core/lib/Drupal/Component/Gettext/PoStreamReader.php, line 91 Class PoStreamReader Implements Gettext PO stream reader. Namespace Drupal\Component\Gettext Code private $_finished;

ConfigTranslationController::$languageManager

The language manager. Overrides ControllerBase::$languageManager File core/modules/config_translation/src/Controller/ConfigTranslationController.php, line 67 Class ConfigTranslationController Provides page callbacks for the configuration translation interface. Namespace Drupal\config_translation\Controller Code protected $languageManager;

TemporaryStream::getType

public static TemporaryStream::getType() Returns the type of stream wrapper. Return value int Overrides LocalStream::getType File core/lib/Drupal/Core/StreamWrapper/TemporaryStream.php, line 18 Class TemporaryStream Defines a Drupal temporary (temporary://) stream wrapper class. Namespace Drupal\Core\StreamWrapper Code public static function getType() { return StreamWrapperInterface::LOCAL_HIDDEN; }

AccessDeniedSubscriber

Redirects users when access is denied. Anonymous users are taken to the login page when attempting to access the user profile pages. Authenticated users are redirected from the login form to their profile page and from the user registration form to their profile edit form. Hierarchy class \Drupal\user\EventSubscriber\AccessDeniedSubscriber implements EventSubscriberInterface uses UrlGeneratorTrait File core/modules/user/src/EventSubscriber/AccessDeniedSubscriber.php, line 22 Namespace Dr

SelectInterface::range

public SelectInterface::range($start = NULL, $length = NULL) Restricts a query to a given range in the result set. If this method is called with no parameters, will remove any range directives that have been set. Parameters $start: The first record from the result set to return. If NULL, removes any range directives that are set. $length: The number of records to return from the result set. Return value \Drupal\Core\Database\Query\SelectInterface The called object. File core/lib/Drupal/Core/D