Zip

Defines a archiver implementation for .zip files. @link http://php.net/zip Hierarchy class \Drupal\Core\Archiver\Zip implements ArchiverInterface File core/lib/Drupal/Core/Archiver/Zip.php, line 10 Namespace Drupal\Core\Archiver Members Name Modifiers Type Description Zip::$zip protected property The underlying ZipArchive instance that does the heavy lifting. Zip::add public function Adds the specified file or directory to the archive. Overrides ArchiverInterface

ModuleHandlerInterface::addProfile

public ModuleHandlerInterface::addProfile($name, $path) Adds an installation profile to the list of currently active modules. Parameters string $name: The profile name; e.g., 'standard'. string $path: The profile path; e.g., 'core/profiles/standard'. File core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php, line 96 Class ModuleHandlerInterface Interface for classes that manage a set of enabled modules. Namespace Drupal\Core\Extension Code public function addProfile($name, $path)

rdf-metadata.html.twig

Default theme implementation for empty spans with RDF attributes. The XHTML+RDFa doctype allows either <span></span> or <span /> syntax to be used, but for maximum browser compatibility, W3C recommends the former when serving pages using the text/html media type, see http://www.w3.org/TR/xhtml1/#C_3. Available variables: metadata: Each item within corresponds to its own set of attributes, and therefore, needs its own 'attributes' element. See also template_preprocess_rdf_m

BookManager::findChildrenRelativeDepth

protected BookManager::findChildrenRelativeDepth(array $book_link) Determine the relative depth of the children of a given book link. Parameters array $book_link: The book link. Return value int The difference between the max depth in the book tree and the depth of the passed book link. File core/modules/book/src/BookManager.php, line 148 Class BookManager Defines a book manager. Namespace Drupal\book Code protected function findChildrenRelativeDepth(array $book_link) { $max_depth

Item::getInfo

public Item::getInfo() Returns the element properties for this element. Return value array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format. Overrides ElementInterface::getInfo File core/lib/Drupal/Core/Render/Element/Item.php, line 19 Class Item Provides a display-only form element with an optional title and description. Namespace Drupal\Core\Render\E

Schema::dropUniqueKey

public Schema::dropUniqueKey($table, $name) Drop a unique key. Parameters $table: The table to be altered. $name: The name of the key. Return value TRUE if the key was successfully dropped, FALSE if there was no key by that name to begin with. Overrides Schema::dropUniqueKey File core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php, line 654 Class Schema PostgreSQL implementation of \Drupal\Core\Database\Schema. Namespace Drupal\Core\Database\Driver\pgsql Code public function dropUn

Entity::getEntityType

public Entity::getEntityType() Gets the entity type definition. Return value \Drupal\Core\Entity\EntityTypeInterface The entity type definition. Overrides EntityInterface::getEntityType File core/lib/Drupal/Core/Entity/Entity.php, line 396 Class Entity Defines a base entity class. Namespace Drupal\Core\Entity Code public function getEntityType() { return $this->entityManager()->getDefinition($this->getEntityTypeId()); }

Block::$id

The plugin ID. Type: string File core/lib/Drupal/Core/Block/Annotation/Block.php, line 21 Class Block Defines a Block annotation object. Namespace Drupal\Core\Block\Annotation Code public $id;

_contextual_id_to_links

_contextual_id_to_links($id) Unserializes the result of _contextual_links_to_id(). Parameters string $id: A serialized representation of a #contextual_links property value array. Return value array The value for a #contextual_links property. See also _contextual_links_to_id File core/modules/contextual/contextual.module, line 201 Adds contextual links to perform actions related to elements on a page. Code function _contextual_id_to_links($id) { $contextual_links = array(); $contexts =

ContentModerationState::getOwnerId

public ContentModerationState::getOwnerId() Returns the entity owner's user ID. Return value int|null The owner user ID, or NULL in case the user ID field has not been set on the entity. Overrides EntityOwnerInterface::getOwnerId File core/modules/content_moderation/src/Entity/ContentModerationState.php, line 102 Class ContentModerationState Defines the Content moderation state entity. Namespace Drupal\content_moderation\Entity Code public function getOwnerId() { return $this->ge