QueryInterface::range

public QueryInterface::range($start = NULL, $length = NULL) Parameters null $start: null $length: Return value \Drupal\Core\Entity\Query\QueryInterface The called object. File core/lib/Drupal/Core/Entity/Query/QueryInterface.php, line 141 Class QueryInterface Interface for entity queries. Namespace Drupal\Core\Entity\Query Code public function range($start = NULL, $length = NULL);

File::getFileUri

public File::getFileUri() Returns the URI of the file. Return value string The URI of the file, e.g. public://directory/file.jpg. Overrides FileInterface::getFileUri File core/modules/file/src/Entity/File.php, line 57 Class File Defines the file entity class. Namespace Drupal\file\Entity Code public function getFileUri() { return $this->get('uri')->value; }

ActionAdminManageForm::getFormId

public ActionAdminManageForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/action/src/Form/ActionAdminManageForm.php, line 45 Class ActionAdminManageForm Provides a configuration form for configurable actions. Namespace Drupal\action\Form Code public function getFormId() { return 'action_admin_manage'; }

hook_ENTITY_TYPE_view_alter

hook_ENTITY_TYPE_view_alter(array &$build, Drupal\Core\Entity\EntityInterface $entity, \Drupal\Core\Entity\Display\EntityViewDisplayInterface $display) Alter the results of the entity build array for a particular entity type. This hook is called after the content has been assembled in a structured array and may be used for doing processing which requires that the complete entity content structure has been built. If a module wishes to act on the rendered HTML of the entity rather than the st

UpdateManagerInstall::create

public static UpdateManagerInstall::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The ser

EntityDisplayModeBase::sort

public static EntityDisplayModeBase::sort(ConfigEntityInterface $a, ConfigEntityInterface $b) Helper callback for uasort() to sort configuration entities by weight and label. Overrides ConfigEntityBase::sort File core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php, line 59 Class EntityDisplayModeBase Base class for config entity types with settings for form and view modes. Namespace Drupal\Core\Entity Code public static function sort(ConfigEntityInterface $a, ConfigEntityInterface $b

ConfigController::$configManager

The configuration manager. Type: \Drupal\Core\Config\ConfigManagerInterface File core/modules/config/src/Controller/ConfigController.php, line 40 Class ConfigController Returns responses for config module routes. Namespace Drupal\config\Controller Code protected $configManager;

ThemeInstaller

Manages theme installation/uninstallation. Hierarchy class \Drupal\Core\Extension\ThemeInstaller implements ThemeInstallerInterface File core/lib/Drupal/Core/Extension/ThemeInstaller.php, line 17 Namespace Drupal\Core\Extension Members Name Modifiers Type Description ThemeInstaller::$configFactory protected property ThemeInstaller::$configInstaller protected property ThemeInstaller::$configManager protected property ThemeInstaller::$cssCollectionOptimiz

DateFormat::setPattern

public DateFormat::setPattern($pattern) Sets the date pattern for this format. Parameters string $pattern: The date pattern to use for this format. Return value $this Overrides DateFormatInterface::setPattern File core/lib/Drupal/Core/Datetime/Entity/DateFormat.php, line 72 Class DateFormat Defines the Date Format configuration entity class. Namespace Drupal\Core\Datetime\Entity Code public function setPattern($pattern) { $this->pattern = $pattern; return $this; }

BookManager::bookTreeOutput

public BookManager::bookTreeOutput(array $tree) Returns a rendered menu tree. The menu item's LI element is given one of the following classes: expanded: The menu item is showing its submenu. collapsed: The menu item has a submenu which is not shown. Parameters array $tree: A data structure representing the tree as returned from buildBookOutlineData. Return value array A structured array to be rendered by drupal_render(). Overrides BookManagerInterface::bookTreeOutput See also \Drupal\Co