SearchPageAddForm::save

public SearchPageAddForm::save(array $form, FormStateInterface $form_state) Form submission handler for the 'save' action. Normally this method should be overridden to provide specific messages to the user and redirect the form after the entity has been saved. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value int Either SAVED_NEW or SAVED_UPDATED, depending on the ope

Select::execute

public Select::execute() Runs the query against the database. Return value \Drupal\Core\Database\StatementInterface|null A prepared statement, or NULL if the query is not valid. Overrides Select::execute File core/lib/Drupal/Core/Database/Driver/pgsql/Select.php, line 142 Class Select PostgreSQL implementation of \Drupal\Core\Database\Query\Select. Namespace Drupal\Core\Database\Driver\pgsql Code public function execute() { $this->connection->addSavepoint(); try { $resul

AccountInterface::id

public AccountInterface::id() Returns the user ID or 0 for anonymous. Return value int The user ID. File core/lib/Drupal/Core/Session/AccountInterface.php, line 31 Class AccountInterface Defines an account interface which represents the current user. Namespace Drupal\Core\Session Code public function id();

ConfigDependencies

Calculates rest resource config dependencies. @internal Hierarchy class \Drupal\rest\Entity\ConfigDependencies implements ContainerInjectionInterface File core/modules/rest/src/Entity/ConfigDependencies.php, line 14 Namespace Drupal\rest\Entity Members Name Modifiers Type Description ConfigDependencies::$authProviders protected property The authentication providers, keyed by ID. ConfigDependencies::$formatProviders protected property The serialization format prov

Connection::prefixTables

public Connection::prefixTables($sql) Appends a database prefix to all tables in a query. Queries sent to Drupal should wrap all table names in curly brackets. This function searches for this syntax and adds Drupal's table prefix to all tables, allowing Drupal to coexist with other systems in the same database and/or schema if necessary. Parameters string $sql: A string containing a partial or entire SQL query. Return value string The properly-prefixed string. File core/lib/Drupal/Core/Databa

FieldStorageConfigStorage::$moduleHandler

The module handler. Type: \Drupal\Core\Extension\ModuleHandlerInterface Overrides EntityHandlerBase::$moduleHandler File core/modules/field/src/FieldStorageConfigStorage.php, line 27 Class FieldStorageConfigStorage Controller class for "field storage" configuration entities. Namespace Drupal\field Code protected $moduleHandler;

RestResourceConfig::$configuration

The REST resource configuration. Type: array File core/modules/rest/src/Entity/RestResourceConfig.php, line 61 Class RestResourceConfig Defines a RestResourceConfig configuration entity class. Namespace Drupal\rest\Entity Code protected $configuration;

ImageStyleDownloadController::$lock

The lock backend. Type: \Drupal\Core\Lock\LockBackendInterface File core/modules/image/src/Controller/ImageStyleDownloadController.php, line 27 Class ImageStyleDownloadController Defines a controller to serve image styles. Namespace Drupal\image\Controller Code protected $lock;

EntityType::getConstraints

public EntityType::getConstraints() Gets an array of validation constraints. See \Drupal\Core\TypedData\DataDefinitionInterface::getConstraints() for details on how constraints are defined. Return value array[] An array of validation constraint definitions, keyed by constraint name. Each constraint definition can be used for instantiating \Symfony\Component\Validator\Constraint objects. Overrides EntityTypeInterface::getConstraints See also \Symfony\Component\Validator\Constraint File core/li

DatabaseFileUsageBackend::$tableName

The name of the SQL table used to store file usage information. Type: string File core/modules/file/src/FileUsage/DatabaseFileUsageBackend.php, line 25 Class DatabaseFileUsageBackend Defines the database file usage backend. This is the default Drupal backend. Namespace Drupal\file\FileUsage Code protected $tableName;