Sequence

Defines a configuration element of type Sequence. This object may contain any number and type of nested elements that share a common definition in the 'sequence' property of the configuration schema. Read https://www.drupal.org/node/1905070 for more details about configuration schema, types and type resolution. Hierarchy class \Drupal\Core\TypedData\TypedData implements PluginInspectionInterface, TypedDataInterface uses StringTranslationTrait, TypedDataTraitclass \Drupal\Core\Config\Schema\Elem

CssOptimizer::processCss

protected CssOptimizer::processCss($contents, $optimize = FALSE) Processes the contents of a stylesheet for aggregation. Parameters $contents: The contents of the stylesheet. $optimize: (optional) Boolean whether CSS contents should be minified. Defaults to FALSE. Return value Contents of the stylesheet including the imported stylesheets. File core/lib/Drupal/Core/Asset/CssOptimizer.php, line 185 Class CssOptimizer Optimizes a CSS asset. Namespace Drupal\Core\Asset Code protected fun

FieldStorageDefinitionInterface

Defines an interface for entity field storage definitions. Field storage definitions represent the part of full field definitions (see FieldDefinitionInterface) that is responsible for defining how the field is stored. While field definitions may differ by entity bundle, all of those bundle fields have to share the same common field storage definition. Thus, the storage definitions can be defined by entity type only. The bundle fields corresponding to a field storage definition may provide addi

JS_THEME

The default group for theme JavaScript code added to the page. File core/includes/common.inc, line 124 Common functions that many Drupal modules will need to reference. Code const JS_THEME = 100;

Connection::commit

public Connection::commit() Throws an exception to deny direct access to transaction commits. We do not want to allow users to commit transactions at any time, only by destroying the transaction object or allowing it to go out of scope. A direct commit bypasses all of the safety checks we've built on top of PDO's transaction routines. Throws \Drupal\Core\Database\TransactionExplicitCommitNotAllowedException See also \Drupal\Core\Database\Transaction File core/lib/Drupal/Core/Database/Connecti

SystemBrandingOffCanvasForm::buildConfigurationForm

public SystemBrandingOffCanvasForm::buildConfigurationForm(array $form, FormStateInterface $form_state) Form constructor. Plugin forms are embedded in other forms. In order to know where the plugin form is located in the parent form, #parents and #array_parents must be known, but these are not available during the initial build phase. In order to have these properties available when building the plugin form's elements, let this method return a form element that has a #process callback and build

ConfigurableLanguageManagerInterface

Common interface for language negotiation services. Hierarchy interface \Drupal\Core\Language\LanguageManagerInterfaceinterface \Drupal\language\ConfigurableLanguageManagerInterface File core/modules/language/src/ConfigurableLanguageManagerInterface.php, line 11 Namespace Drupal\language Members Name Modifiers Type Description ConfigurableLanguageManagerInterface::getDefinedLanguageTypes public function Returns all the defined language types including fixed ones. Conf

EntityDisplayFormBase::getRegions

public EntityDisplayFormBase::getRegions() Get the regions needed to create the overview form. Return value array Example usage: return array( 'content' => array( // label for the region. 'title' => $this->t('Content'), // Indicates if the region is visible in the UI. 'invisible' => TRUE, // A message to indicate that there is nothing to be displayed in // the region. 'message' => $this->t('No field is displaye

UserSession::$uid

User ID. Type: int File core/lib/Drupal/Core/Session/UserSession.php, line 17 Class UserSession An implementation of the user account interface for the global user. Namespace Drupal\Core\Session Code protected $uid = 0;

ConfigSync::$configManager

The configuration manager. Type: \Drupal\Core\Config\ConfigManagerInterface; File core/modules/config/src/Form/ConfigSync.php, line 67 Class ConfigSync Construct the storage changes in a configuration synchronization form. Namespace Drupal\config\Form Code protected $configManager;