ItemStorageInterface::loadAll

public ItemStorageInterface::loadAll($limit = NULL) Loads feed items from all feeds. Parameters int $limit: (optional) The number of items to return. Defaults to unlimited. Return value \Drupal\aggregator\ItemInterface[] An array of the feed items. File core/modules/aggregator/src/ItemStorageInterface.php, line 32 Class ItemStorageInterface Defines an interface for aggregator item entity storage classes. Namespace Drupal\aggregator Code public function loadAll($limit = NULL);

Schema::getComment

public Schema::getComment($table, $column = NULL) Retrieve a table or column comment. File core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php, line 826 Class Schema PostgreSQL implementation of \Drupal\Core\Database\Schema. Namespace Drupal\Core\Database\Driver\pgsql Code public function getComment($table, $column = NULL) { $info = $this->getPrefixInfo($table); // Don't use {} around pg_class, pg_attribute tables. if (isset($column)) { return $this->connection->qu

KeyValueStoreInterface

Defines the interface for key/value store implementations. Hierarchy interface \Drupal\Core\KeyValueStore\KeyValueStoreInterface File core/lib/Drupal/Core/KeyValueStore/KeyValueStoreInterface.php, line 8 Namespace Drupal\Core\KeyValueStore Members Name Modifiers Type Description KeyValueStoreInterface::delete public function Deletes an item from the key/value store. KeyValueStoreInterface::deleteAll public function Deletes all items from the key/value store. Ke

AliasStorage::languageAliasExists

public AliasStorage::languageAliasExists() Checks if there are any aliases with language defined. Return value bool TRUE if aliases with language exist. Overrides AliasStorageInterface::languageAliasExists File core/lib/Drupal/Core/Path/AliasStorage.php, line 314 Class AliasStorage Provides a class for CRUD operations on path aliases. Namespace Drupal\Core\Path Code public function languageAliasExists() { try { return (bool) $this->connection->queryRange('SELECT 1 FROM {ur

UrlGeneratorTrait::$urlGenerator

The url generator. Type: \Drupal\Core\Routing\UrlGeneratorInterface File core/lib/Drupal/Core/Routing/UrlGeneratorTrait.php, line 25 Class UrlGeneratorTrait Wrapper methods for the Url Generator. Namespace Drupal\Core\Routing Code protected $urlGenerator;

File::getMimeType

public File::getMimeType() Returns the MIME type of the file. Return value string The MIME type of the file, e.g. image/jpeg or text/xml. Overrides FileInterface::getMimeType File core/modules/file/src/Entity/File.php, line 80 Class File Defines the file entity class. Namespace Drupal\file\Entity Code public function getMimeType() { return $this->get('filemime')->value; }

SearchPageListBuilder::buildHeader

public SearchPageListBuilder::buildHeader() Builds the header row for the entity listing. Return value array A render array structure of header strings. Overrides DraggableListBuilder::buildHeader See also \Drupal\Core\Entity\EntityListBuilder::render() File core/modules/search/src/SearchPageListBuilder.php, line 92 Class SearchPageListBuilder Defines a class to build a listing of search page entities. Namespace Drupal\search Code public function buildHeader() { $header['label'] =

StatementInterface::fetchAllKeyed

public StatementInterface::fetchAllKeyed($key_index = 0, $value_index = 1) Returns the entire result set as a single associative array. This method is only useful for two-column result sets. It will return an associative array where the key is one column from the result set and the value is another field. In most cases, the default of the first two columns is appropriate. Note that this method will run the result set to the end. Parameters $key_index: The numeric index of the field to use as t

ClientFactory::fromOptions

public ClientFactory::fromOptions(array $config = []) Constructs a new client object from some configuration. Parameters array $config: The config for the client. Return value \GuzzleHttp\Client The HTTP client. File core/lib/Drupal/Core/Http/ClientFactory.php, line 41 Class ClientFactory Helper class to construct a HTTP client with Drupal specific config. Namespace Drupal\Core\Http Code public function fromOptions(array $config = []) { $default_config = [ // Security considera

Feed::getEtag

public Feed::getEtag() Returns the entity tag HTTP response header, used for validating cache. Return value string The entity tag HTTP response header. Overrides FeedInterface::getEtag File core/modules/aggregator/src/Entity/Feed.php, line 290 Class Feed Defines the aggregator feed entity class. Namespace Drupal\aggregator\Entity Code public function getEtag() { return $this->get('etag')->value; }