Tables::getTableMapping

protected Tables::getTableMapping($table, $entity_type_id) Gets the schema for the given table. Parameters string $table: The table name. Return value array|bool The table field mapping for the given table or FALSE if not available. File core/lib/Drupal/Core/Entity/Query/Sql/Tables.php, line 359 Class Tables Adds tables and fields to the SQL entity query. Namespace Drupal\Core\Entity\Query\Sql Code protected function getTableMapping($table, $entity_type_id) { $storage = $this->e

FILE_CHMOD_FILE

Default mode for new files. See drupal_chmod(). Deprecated in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use \Drupal\Core\File\FileSystem::CHMOD_FILE. File core/includes/file.inc, line 32 API for handling file uploads and server file management. Code const FILE_CHMOD_FILE = FileSystem::CHMOD_FILE;

Container

Provides a render element that wraps child elements in a container. Surrounds child elements with a <div> and adds attributes such as classes or an HTML ID. Usage example: $form['needs_accommodation'] = array( '#type' => 'checkbox', '#title' => $this->t('Need Special Accommodations?'), ); $form['accommodation'] = array( '#type' => 'container', '#attributes' => array( 'class' => 'accommodation', ), '#states' => array( 'invisible' => array(

Settings::__clone

private Settings::__clone() Protects creating with clone. File core/lib/Drupal/Core/Site/Settings.php, line 55 Class Settings Read only settings that are initialized with the class. Namespace Drupal\Core\Site Code private function __clone() { }

NullLockBackend::$lockId

Current page lock token identifier. Type: string File core/lib/Drupal/Core/Lock/NullLockBackend.php, line 20 Class NullLockBackend Defines a Null lock backend. Namespace Drupal\Core\Lock Code protected $lockId;

FileInterface::getMimeType

public FileInterface::getMimeType() Returns the MIME type of the file. Return value string The MIME type of the file, e.g. image/jpeg or text/xml. File core/modules/file/src/FileInterface.php, line 59 Class FileInterface Defines getter and setter methods for file entity base fields. Namespace Drupal\file Code public function getMimeType();

ModuleInstaller::__construct

public ModuleInstaller::__construct($root, ModuleHandlerInterface $module_handler, DrupalKernelInterface $kernel) Constructs a new ModuleInstaller instance. Parameters string $root: The app root. \Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler. \Drupal\Core\DrupalKernelInterface $kernel: The drupal kernel. See also \Drupal\Core\DrupalKernel \Drupal\Core\CoreServiceProvider File core/lib/Drupal/Core/Extension/ModuleInstaller.php, line 61 Class ModuleInstal

ContentEntityDeleteForm::submitForm

public ContentEntityDeleteForm::submitForm(array &$form, FormStateInterface $form_state) This is the default entity object builder function. It is called before any other submit handler to build the new entity object to be used by the following submit handlers. At this point of the form workflow the entity is validated and the form state can be updated, this way the subsequently invoked handlers can retrieve a regular entity object to act on. Generally this method should not be overridden

SearchQuery::execute

public SearchQuery::execute() Executes the search. The complex conditions are applied to the query including score expressions and ordering. Error and warning conditions can apply. Call getStatus() after calling this method to retrieve them. Return value \Drupal\Core\Database\StatementInterface|null A query result set containing the results of the query. Overrides SelectExtender::execute File core/modules/search/src/SearchQuery.php, line 547 Class SearchQuery Search query extender and hel

ModerationHandler::enforceRevisionsEntityFormAlter

public ModerationHandler::enforceRevisionsEntityFormAlter(array &$form, FormStateInterface $form_state, $form_id) Alters entity forms to enforce revision handling. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. string $form_id: The form id. Overrides ModerationHandlerInterface::enforceRevisionsEntityFormAlter See also hook_form_alter() File core/modules/content_moderation/s