InvalidLibrariesExtendSpecificationException

Defines a custom exception for an invalid libraries-extend specification. Hierarchy class \Drupal\Core\Asset\Exception\InvalidLibrariesExtendSpecificationException extends \RuntimeException File core/lib/Drupal/Core/Asset/Exception/InvalidLibrariesExtendSpecificationException.php, line 8 Namespace Drupal\Core\Asset\Exception Members

InvalidDataTypeException

Exception thrown when a data type is invalid. Hierarchy class \Drupal\Component\Serialization\Exception\InvalidDataTypeException extends \InvalidArgumentException File core/lib/Drupal/Component/Serialization/Exception/InvalidDataTypeException.php, line 8 Namespace Drupal\Component\Serialization\Exception Members

Internationalization

Internationalization and translation The principle of internationalization is that it should be possible to make a Drupal site in any language (or a multi-lingual site), where only content in the desired language is displayed for any particular page request. In order to make this happen, developers of modules, themes, and installation profiles need to make sure that all of the displayable content and user interface (UI) text that their project deals with is internationalized properly, so that i

Interface translation properties

.info.yml file properties for interface translation settings. For modules hosted on drupal.org, a project definition is automatically added to the .info.yml file. Only modules with this project definition are discovered by the update module and use it to check for new releases. Locale module uses the same data to build a list of modules to check for new translations. Therefore modules not hosted at drupal.org, such as custom modules, custom themes, features and distributions, need a way to iden

IntegrityConstraintViolationException

Exception thrown if a query would violate an integrity constraint. This exception is thrown e.g. when trying to insert a row that would violate a unique key constraint. Hierarchy class \Drupal\Core\Database\IntegrityConstraintViolationException extends \RuntimeException implements DatabaseException File core/lib/Drupal/Core/Database/IntegrityConstraintViolationException.php, line 11 Namespace Drupal\Core\Database Members

IntegerInterface

Interface for integer numbers. The plain value of an integer is a regular PHP integer. For setting the value any PHP variable that casts to an integer may be passed. Hierarchy interface \Drupal\Core\TypedData\PrimitiveInterfaceinterface \Drupal\Core\TypedData\Type\IntegerInterface Related topics Typed Data API API for describing data based on a set of available data types. File core/lib/Drupal/Core/TypedData/Type/IntegerInterface.php, line 15 Namespace Drupal\Core\TypedData\Type Mem

install_write_profile

install_write_profile($install_state) Installation task; ensures install profile is written to settings.php. Parameters array $install_state: An array of information about the current installation state. File core/includes/install.core.inc, line 2180 API functions for installing Drupal. Code function install_write_profile($install_state) { if (Settings::get('install_profile') !== $install_state['parameters']['profile']) { // Remember the profile which was used. $settings['settings'

install_verify_requirements

install_verify_requirements(&$install_state) Verifies the requirements for installing Drupal. Parameters $install_state: An array of information about the current installation state. Return value A themed status report, or an exception if there are requirement errors. File core/includes/install.core.inc, line 1019 API functions for installing Drupal. Code function install_verify_requirements(&$install_state) { // Check the installation requirements for Drupal and this profile. $

install_verify_database_settings

install_verify_database_settings($site_path) Verifies that settings.php specifies a valid database connection. Parameters string $site_path: The site path. Return value bool TRUE if there are no database errors. File core/includes/install.core.inc, line 1097 API functions for installing Drupal. Code function install_verify_database_settings($site_path) { if ($database = Database::getConnectionInfo()) { $database = $database['default']; $settings_file = './' . $site_path . '/settin

install_verify_database_ready

install_verify_database_ready() Verify that the database is ready (no existing Drupal installation). File core/includes/install.core.inc, line 1112 API functions for installing Drupal. Code function install_verify_database_ready() { $system_schema = system_schema(); end($system_schema); $table = key($system_schema); if ($database = Database::getConnectionInfo()) { if (Database::getConnection()->schema()->tableExists($table)) { throw new AlreadyInstalledException(\Drup