ReadOnlyStream::getUri

ReadOnlyStream::getUri() Returns the stream resource URI. Return value string Returns the current URI of the instance. Overrides StreamWrapperInterface::getUri File core/lib/Drupal/Core/StreamWrapper/ReadOnlyStream.php, line 49 Class ReadOnlyStream Defines a read-only Drupal stream wrapper base class. Namespace Drupal\Core\StreamWrapper Code function getUri() { return $this->uri; }

ArchiverInterface::listContents

public ArchiverInterface::listContents() Lists all files in the archive. Return value array An array of file names relative to the root of the archive. File core/lib/Drupal/Core/Archiver/ArchiverInterface.php, line 58 Class ArchiverInterface Defines the common interface for all Archiver classes. Namespace Drupal\Core\Archiver Code public function listContents();

FileInterface::setMimeType

public FileInterface::setMimeType($mime) Sets the MIME type of the file. Parameters string $mime: The MIME type of the file, e.g. image/jpeg or text/xml. File core/modules/file/src/FileInterface.php, line 67 Class FileInterface Defines getter and setter methods for file entity base fields. Namespace Drupal\file Code public function setMimeType($mime);

ModulesListConfirmForm::getCancelUrl

public ModulesListConfirmForm::getCancelUrl() Returns the route to go to if the user cancels the action. Return value \Drupal\Core\Url A URL object. Overrides ConfirmFormInterface::getCancelUrl File core/modules/system/src/Form/ModulesListConfirmForm.php, line 85 Class ModulesListConfirmForm Builds a confirmation form for enabling modules with dependencies. Namespace Drupal\system\Form Code public function getCancelUrl() { return new Url('system.modules_list'); }

EntityListBuilderInterface::load

public EntityListBuilderInterface::load() Loads entities of this type from storage for listing. This allows the implementation to manipulate the listing, like filtering or sorting the loaded entities. Return value \Drupal\Core\Entity\EntityInterface[] An array of entities implementing \Drupal\Core\Entity\EntityInterface. File core/lib/Drupal/Core/Entity/EntityListBuilderInterface.php, line 27 Class EntityListBuilderInterface Defines an interface to build entity listings. Namespace Drup

NodeStorage::userRevisionIds

public NodeStorage::userRevisionIds(AccountInterface $account) Gets a list of revision IDs having a given user as node author. Parameters \Drupal\Core\Session\AccountInterface $account: The user entity. Return value int[] Node revision IDs (in ascending order). Overrides NodeStorageInterface::userRevisionIds File core/modules/node/src/NodeStorage.php, line 30 Class NodeStorage Defines the storage handler class for nodes. Namespace Drupal\node Code public function userRevisionIds(Acco

Connection::queryRange

abstract public Connection::queryRange($query, $from, $count, array $args = array(), array $options = array()) Runs a limited-range query on this database object. Use this as a substitute for ->query() when a subset of the query is to be returned. User-supplied arguments to the query should be passed in as separate parameters so that they can be properly escaped to avoid SQL injection attacks. Parameters string $query: A string containing an SQL query. int $from: The first result row to ret

SessionCacheContext::getLabel

public static SessionCacheContext::getLabel() File core/lib/Drupal/Core/Cache/Context/SessionCacheContext.php, line 17 Class SessionCacheContext Defines the SessionCacheContext service, for "per session" caching. Namespace Drupal\Core\Cache\Context Code public static function getLabel() { return t('Session'); }

EntityDeleteFormTrait::logger

abstract protected EntityDeleteFormTrait::logger($channel) Gets the logger for a specific channel. Provided by \Drupal\Core\Form\FormBase. Parameters string $channel: The name of the channel. Return value \Psr\Log\LoggerInterface The logger for this channel. Overrides FormBase::logger File core/lib/Drupal/Core/Entity/EntityDeleteFormTrait.php, line 41 Class EntityDeleteFormTrait Provides a trait for an entity deletion form. Namespace Drupal\Core\Entity Code abstract protected functio

Datelist::valueCallback

public static Datelist::valueCallback(&$element, $input, FormStateInterface $form_state) Validates the date type to adjust 12 hour time and prevent invalid dates. If the date is valid, the date is set in the form. Overrides FormElement::valueCallback File core/lib/Drupal/Core/Datetime/Element/Datelist.php, line 46 Class Datelist Provides a datelist element. Namespace Drupal\Core\Datetime\Element Code public static function valueCallback(&$element, $input, FormStateInterface $f