PermissionHandler::$yamlDiscovery

The YAML discovery class to find all .permissions.yml files. Type: \Drupal\Core\Discovery\YamlDiscovery File core/modules/user/src/PermissionHandler.php, line 64 Class PermissionHandler Provides the available permissions based on yml files. Namespace Drupal\user Code protected $yamlDiscovery;

Condition

Implements entity query conditions for PostgreSQL databases. Hierarchy class \Drupal\Core\Entity\Query\ConditionFundamentalsclass \Drupal\Core\Entity\Query\ConditionBase implements ConditionInterfaceclass \Drupal\Core\Entity\Query\Sql\Conditionclass \Drupal\Core\Entity\Query\Sql\pgsql\Condition File core/lib/Drupal/Core/Entity/Query/Sql/pgsql/Condition.php, line 11 Namespace Drupal\Core\Entity\Query\Sql\pgsql Members Name Modifiers Type Description Condition::$query prote

QueryBase::hasAllTags

public QueryBase::hasAllTags() Determines if a given query has all specified tags. Parameters $tags: A variable number of arguments, one for each tag to check. Return value TRUE if this query has been marked with all specified tags, FALSE otherwise. Overrides AlterableInterface::hasAllTags File core/lib/Drupal/Core/Entity/Query/QueryBase.php, line 350 Class QueryBase The base entity query class. Namespace Drupal\Core\Entity\Query Code public function hasAllTags() { return !(boolean

form.html.twig

Default theme implementation for a 'form' element. Available variables attributes: A list of HTML attributes for the wrapper element. children: The child elements of the form. See also template_preprocess_form() File core/modules/system/templates/form.html.twig Related topics Theme system overview Functions and templates for the user interface that themes can override.

ViewUI::duplicateDisplayAsType

public ViewUI::duplicateDisplayAsType($old_display_id, $new_display_type) Duplicates an existing display into a new display type. For example clone to display a page display as a block display. Parameters string $old_display_id: The origin of the duplicated display. string $new_display_type: The display type of the new display. Return value string The display ID of the new display. Overrides ViewEntityInterface::duplicateDisplayAsType File core/modules/views_ui/src/ViewUI.php, line 1142 Cl

RedirectDestination::get

public RedirectDestination::get() Gets the destination as a path. To convert to a URL suitable for \Symfony\Component\HttpFoundation\RedirectResponse::__construct() use \Drupal\Core\Url::fromUserInput(\Drupal::destination()->get())->setAbsolute()->toString() Return value string Overrides RedirectDestinationInterface::get File core/lib/Drupal/Core/Routing/RedirectDestination.php, line 57 Class RedirectDestination Provides helpers for redirect destinations. Namespace Drupal\Cor

ContentEntityStorageBase::onFieldStorageDefinitionDelete

public ContentEntityStorageBase::onFieldStorageDefinitionDelete(FieldStorageDefinitionInterface $storage_definition) Reacts to the deletion of a field storage definition. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field being deleted. Overrides FieldStorageDefinitionListenerInterface::onFieldStorageDefinitionDelete File core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php, line 154 Class ContentEntityStorageBase Base class for content entity

Schema::addUniqueKey

public Schema::addUniqueKey($table, $name, $fields) Add a unique key. Parameters $table: The table to be altered. $name: The name of the key. $fields: An array of field names. Throws \Drupal\Core\Database\SchemaObjectDoesNotExistException If the specified table doesn't exist. \Drupal\Core\Database\SchemaObjectExistsException If the specified table already has a key by that name. Overrides Schema::addUniqueKey File core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php, line 634 Class Sche

Module::isInstalled

public Module::isInstalled() Checks if the project is installed. Return value bool Overrides UpdaterInterface::isInstalled File core/lib/Drupal/Core/Updater/Module.php, line 49 Class Module Defines a class for updating modules using Drupal\Core\FileTransfer\FileTransfer classes via authorize.php. Namespace Drupal\Core\Updater Code public function isInstalled() { // Check if the module exists in the file system, regardless of whether it // is enabled or not. $modules = \Drupal::s

ViewUI::getThirdPartySettings

public ViewUI::getThirdPartySettings($module) Gets all third-party settings of a given module. Parameters string $module: The module providing the third-party settings. Return value array An array of key-value pairs. Overrides ThirdPartySettingsInterface::getThirdPartySettings File core/modules/views_ui/src/ViewUI.php, line 1283 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function getThirdPartySettings($module) { return $this->storage