block_configurable_language_delete

block_configurable_language_delete(ConfigurableLanguageInterface $language) Implements hook_ENTITY_TYPE_delete() for 'configurable_language'. Delete the potential block visibility settings of the deleted language. File core/modules/block/block.module, line 275 Controls the visual building blocks a page is constructed with. Code function block_configurable_language_delete(ConfigurableLanguageInterface $language) { // Remove the block visibility settings for the deleted language. foreach (B

EntityListBuilder::load

public EntityListBuilder::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. Overrides EntityListBuilderInterface::load File core/lib/Drupal/Core/Entity/EntityListBuilder.php, line 79 Class EntityListBuilder Defines a generic implementation to build a list

node_mass_update

node_mass_update(array $nodes, array $updates, $langcode = NULL, $load = FALSE, $revisions = FALSE) Updates all nodes in the passed-in array with the passed-in field values. IMPORTANT NOTE: This function is intended to work when called from a form submission handler. Calling it outside of the form submission process may not work correctly. Parameters array $nodes: Array of node nids or nodes to update. array $updates: Array of key/value pairs with node field names and the value to update that

taxonomy_theme_suggestions_taxonomy_term

taxonomy_theme_suggestions_taxonomy_term(array $variables) Implements hook_theme_suggestions_HOOK(). File core/modules/taxonomy/taxonomy.module, line 225 Enables the organization of content into categories. Code function taxonomy_theme_suggestions_taxonomy_term(array $variables) { $suggestions = array(); /** @var \Drupal\taxonomy\TermInterface $term */ $term = $variables['elements']['#taxonomy_term']; $suggestions[] = 'taxonomy_term__' . $term->bundle(); $suggestions[] = 'taxon

FileStorage::createDirectory

protected FileStorage::createDirectory($directory, $mode = 0777, $is_backwards_recursive = FALSE) Ensures the requested directory exists and has the right permissions. For compatibility with open_basedir, the requested directory is created using a recursion logic that is based on the relative directory path/tree: It works from the end of the path recursively back towards the root directory, until an existing parent directory is found. From there, the subdirectories are created. Parameters stri

SessionManager::$startedLazy

Whether a lazy session has been started. Type: bool File core/lib/Drupal/Core/Session/SessionManager.php, line 58 Class SessionManager Manages user sessions. Namespace Drupal\Core\Session Code protected $startedLazy;

Cookie::$connection

The database connection. Type: \Drupal\Core\Database\Connection File core/modules/user/src/Authentication/Provider/Cookie.php, line 30 Class Cookie Cookie based authentication provider. Namespace Drupal\user\Authentication\Provider Code protected $connection;

OverviewTerms::submitReset

public OverviewTerms::submitReset(array &$form, FormStateInterface $form_state) Redirects to confirmation form for the reset action. File core/modules/taxonomy/src/Form/OverviewTerms.php, line 462 Class OverviewTerms Provides terms overview form for a taxonomy vocabulary. Namespace Drupal\taxonomy\Form Code public function submitReset(array &$form, FormStateInterface $form_state) { /** @var $vocabulary \Drupal\taxonomy\VocabularyInterface */ $vocabulary = $form_state->ge

ConfigNamesMapper::getDeleteRouteParameters

public ConfigNamesMapper::getDeleteRouteParameters() Returns the route parameters for the translation deletion route. Return value array Overrides ConfigMapperInterface::getDeleteRouteParameters File core/modules/config_translation/src/ConfigNamesMapper.php, line 325 Class ConfigNamesMapper Configuration mapper base implementation. Namespace Drupal\config_translation Code public function getDeleteRouteParameters() { return $this->getAddRouteParameters(); }

EntityViewsData::createInstance

public static EntityViewsData::createInstance(ContainerInterface $container, EntityTypeInterface $entity_type) Instantiates a new instance of this entity handler. This is a factory method that returns a new instance of this object. The factory should pass any needed dependencies into the constructor of this object, but not the container itself. Every call to this method must return a new instance of this object; that is, it may not implement a singleton. Parameters \Symfony\Component\Dependenc