CurrentRouteMatch::getParameters

public CurrentRouteMatch::getParameters() Returns the bag of all processed route parameters. Raw URL parameters are processed by the parameter conversion system, which does operations such as converting entity ID parameters to fully-loaded entities. For example, the path node/12345 would have a raw node ID parameter value of 12345, while the processed parameter value would be the corresponding loaded node object. Return value \Symfony\Component\HttpFoundation\ParameterBag The parameter bag. Ov

ForumManager::getTopics

public ForumManager::getTopics($tid, AccountInterface $account) Gets list of forum topics. Parameters int $tid: Term ID. \Drupal\Core\Session\AccountInterface $account: Account to fetch topics for. Return value array Array with keys 'topics' and 'header'. Overrides ForumManagerInterface::getTopics File core/modules/forum/src/ForumManager.php, line 133 Class ForumManager Provides forum manager service. Namespace Drupal\forum Code public function getTopics($tid, AccountInterface $accou

ViewsSearchQuery::conditionReplaceString

ViewsSearchQuery::conditionReplaceString($search, $replace, &$condition) Replaces the original condition with a custom one from views recursively. Parameters string $search: The searched value. string $replace: The value which replaces the search value. array $condition: The query conditions array in which the string is replaced. This is an item from a \Drupal\Core\Database\Query\Condition::conditions array, which must have a 'field' element. File core/modules/search/src/ViewsSearchQuery.p

PoStreamWriter::$_fd

File handle of the current PO stream. Type: resource File core/lib/Drupal/Component/Gettext/PoStreamWriter.php, line 29 Class PoStreamWriter Defines a Gettext PO stream writer. Namespace Drupal\Component\Gettext Code private $_fd;

StringDatabaseStorage::checkVersion

protected StringDatabaseStorage::checkVersion($string, $version) Checks whether the string version matches a given version, fix it if not. Parameters \Drupal\locale\StringInterface $string: The string object. string $version: Drupal version to check against. File core/modules/locale/src/StringDatabaseStorage.php, line 174 Class StringDatabaseStorage Defines a class to store localized strings in the database. Namespace Drupal\locale Code protected function checkVersion($string, $versio

ViewExecutable::build

public ViewExecutable::build($display_id = NULL) Builds the query for the view. Parameters string $display_id: The display ID of the view. Return value bool|null TRUE if the view build process was successful, FALSE if setting the display fails or NULL if the view has been built already. File core/modules/views/src/ViewExecutable.php, line 1183 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public function build($display_id = NULL) { if (!empty($this-

TermTranslationHandler::entityFormAlter

public TermTranslationHandler::entityFormAlter(array &$form, FormStateInterface $form_state, EntityInterface $entity) Performs the needed alterations to the entity form. Parameters array $form: The entity form to be altered to provide the translation workflow. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. \Drupal\Core\Entity\EntityInterface $entity: The entity being created or edited. Overrides ContentTranslationHandler::entityFormAlter File core/modules/

SiteSettingsForm::validateForm

public SiteSettingsForm::validateForm(array &$form, FormStateInterface $form_state) Form validation handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormBase::validateForm File core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php, line 150 Class SiteSettingsForm Provides a form to configure and rewrite settings.php. Namespace Drupal\Core\Installe

DiffFormatter::_changed

protected DiffFormatter::_changed($orig, $closing) File core/lib/Drupal/Component/Diff/DiffFormatter.php, line 181 Class DiffFormatter A class to format Diffs Namespace Drupal\Component\Diff Code protected function _changed($orig, $closing) { $this->_deleted($orig); echo "---\n"; $this->_added($closing); }

PrivateTempStore::__construct

public PrivateTempStore::__construct(KeyValueStoreExpirableInterface $storage, LockBackendInterface $lock_backend, AccountProxyInterface $current_user, RequestStack $request_stack, $expire = 604800) Constructs a new object for accessing data from a key/value store. Parameters KeyValueStoreExpirableInterface $storage: The key/value storage object used for this data. Each storage object represents a particular collection of data and will contain any number of key/value pairs. \Drupal\Core\Lock\L