SearchQuery::searchExpression

public SearchQuery::searchExpression($expression, $type) Sets the search query expression. Parameters string $expression: A search string, which can contain keywords and options. string $type: The search type. This maps to {search_index}.type in the database. Return value $this File core/modules/search/src/SearchQuery.php, line 200 Class SearchQuery Search query extender and helper functions. Namespace Drupal\search Code public function searchExpression($expression, $type) { $this-

ModerationInformationInterface::shouldModerateEntitiesOfBundle

public ModerationInformationInterface::shouldModerateEntitiesOfBundle(EntityTypeInterface $entity_type, $bundle) Determines if an entity type/bundle entities should be moderated. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition to check. string $bundle: The bundle to check. Return value bool TRUE if an entity type/bundle entities should be moderated, FALSE otherwise. File core/modules/content_moderation/src/ModerationInformationInterface.php, line 48

Connection::setTarget

public Connection::setTarget($target = NULL) Tells this connection object what its target value is. This is needed for logging and auditing. It's sloppy to do in the constructor because the constructor for child classes has a different signature. We therefore also ensure that this function is only ever called once. Parameters string $target: (optional) The target this connection is for. File core/lib/Drupal/Core/Database/Connection.php, line 403 Class Connection Base Database API class.

ContentEntityStorageBase::getFromPersistentCache

protected ContentEntityStorageBase::getFromPersistentCache(array &$ids = NULL) Gets entities from the persistent cache backend. Parameters array|null &$ids: If not empty, return entities that match these IDs. IDs that were found will be removed from the list. Return value \Drupal\Core\Entity\ContentEntityInterface[] Array of entities from the persistent cache. File core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php, line 583 Class ContentEntityStorageBase Base class for con

FormCache::$configFactory

The config factory. Type: \Drupal\Core\Config\ConfigFactoryInterface File core/lib/Drupal/Core/Form/FormCache.php, line 61 Class FormCache Encapsulates the caching of a form and its form state. Namespace Drupal\Core\Form Code protected $configFactory;

LocalActionManager::$account

The current user. Type: \Drupal\Core\Session\AccountInterface File core/lib/Drupal/Core/Menu/LocalActionManager.php, line 90 Class LocalActionManager Provides the default local action manager using YML as primary definition. Namespace Drupal\Core\Menu Code protected $account;

aggregator-item.html.twig

Default theme implementation to present a feed item in an aggregator page. Available variables: url: URL to the originating feed item. title: Title of the feed item. content: All field items. Use {{ content }} to print them all, or print a subset such as {{ content.field_example }}. Use {{ content|without('field_example') }} to temporarily suppress the printing of a given element. attributes: HTML attributes for the wrapper. title_prefix: Additional output populated by modules, intended to

FileStorage::listAll

public FileStorage::listAll($prefix = '') Gets configuration object names starting with a given prefix. Given the following configuration objects: node.type.article node.type.page Passing the prefix 'node.type.' will return an array containing the above names. Parameters string $prefix: (optional) The prefix to search for. If omitted, all configuration object names that exist are returned. Return value array An array containing matching configuration object names. Overrides StorageInterface

FormCache::$currentUser

The current user. Type: \Drupal\Core\Session\AccountInterface File core/lib/Drupal/Core/Form/FormCache.php, line 40 Class FormCache Encapsulates the caching of a form and its form state. Namespace Drupal\Core\Form Code protected $currentUser;

Comment::setAuthorName

public Comment::setAuthorName($name) Sets the name of the author of the comment. Parameters string $name: A string containing the name of the author. Return value $this The class instance that this method is called on. Overrides CommentInterface::setAuthorName File core/modules/comment/src/Entity/Comment.php, line 404 Class Comment Defines the comment entity class. Namespace Drupal\comment\Entity Code public function setAuthorName($name) { $this->set('name', $name); return $th