PoStreamInterface::getURI

public PoStreamInterface::getURI() Gets the URI of the PO stream that is being read or written. Return value URI string for this stream. File core/lib/Drupal/Component/Gettext/PoStreamInterface.php, line 29 Class PoStreamInterface Common functions for file/stream based PO readers/writers. Namespace Drupal\Component\Gettext Code public function getURI();

EntityType::addConstraint

public EntityType::addConstraint($constraint_name, $options = NULL) Adds a validation constraint. See \Drupal\Core\TypedData\DataDefinitionInterface::getConstraints() for details on how constraints are defined. Parameters string $constraint_name: The name of the constraint to add, i.e. its plugin id. array|null $options: The constraint options as required by the constraint plugin, or NULL. Return value $this Overrides EntityTypeInterface::addConstraint File core/lib/Drupal/Core/Entity/EntityT

MenuLinkTreeInterface

Defines an interface for loading, transforming and rendering menu link trees. The main purposes of this interface are: Load a list of menu links, given a menu name, using MenuLinkTreeInterface::load(). Loaded menu links are returned as a tree by looking at the links' tree meta-data. Which links are loaded can be specified in the menu link tree parameters that are passed to the load() method. You can build your own set of parameters, or you can start from typical defaults by calling the MenuLink

MenuActiveTrailInterface::getActiveLink

public MenuActiveTrailInterface::getActiveLink($menu_name = NULL) Fetches a menu link which matches the route name, parameters and menu name. Parameters string|null $menu_name: (optional) The menu within which to find the active link. If omitted, all menus will be searched. Return value \Drupal\Core\Menu\MenuLinkInterface|null The menu link for the given route name, parameters and menu, or NULL if there is no matching menu link or the current user cannot access the current page (i.e. we have

Html::decodeEntities

public static Html::decodeEntities($text) Decodes all HTML entities including numerical ones to regular UTF-8 bytes. Double-escaped entities will only be decoded once ("&amp;lt;" becomes "&lt;", not "<"). Be careful when using this function, as it will revert previous sanitization efforts (&lt;script&gt; will become <script>). This method is not the opposite of Html::escape(). For example, this method will convert "&eacute;" to "é", whereas Html::escape() will not c

SelectExtender::compiled

public SelectExtender::compiled() Check whether a condition has been previously compiled. Return value TRUE if the condition has been previously compiled. Overrides ConditionInterface::compiled File core/lib/Drupal/Core/Database/Query/SelectExtender.php, line 140 Class SelectExtender The base extender class for Select queries. Namespace Drupal\Core\Database\Query Code public function compiled() { return $this->query->compiled(); }

Term::getVocabularyId

public Term::getVocabularyId() Get the taxonomy vocabulary id this term belongs to. Return value int The id of the vocabulary. Overrides TermInterface::getVocabularyId File core/modules/taxonomy/src/Entity/Term.php, line 233 Class Term Defines the taxonomy term entity. Namespace Drupal\taxonomy\Entity Code public function getVocabularyId() { return $this->get('vid')->target_id; }

ViewsStyle::$help

A short help string; this is displayed in the views UI. Type: \Drupal\Core\Annotation\Translation Related topics Annotation for translatable text Describes how to put translatable UI text into annotations. File core/modules/views/src/Annotation/ViewsStyle.php, line 48 Class ViewsStyle Defines a Plugin annotation object for views style plugins. Namespace Drupal\views\Annotation Code public $help = '';

ImageToolkitForm::$availableToolkits

An array containing currently available toolkits. Type: \Drupal\Core\ImageToolkit\ImageToolkitInterface[] File core/modules/system/src/Form/ImageToolkitForm.php, line 21 Class ImageToolkitForm Configures image toolkit settings for this site. Namespace Drupal\system\Form Code protected $availableToolkits = array();

Statement

Default implementation of StatementInterface. \PDO allows us to extend the \PDOStatement class to provide additional functionality beyond that offered by default. We do need extra functionality. By default, this class is not driver-specific. If a given driver needs to set a custom statement class, it may do so in its constructor. Hierarchy class \Drupal\Core\Database\Statement extends \PDOStatement implements StatementInterface See also http://php.net/pdostatement File core/lib/Drupal/Core/