Drupal 8  8.0.2
Deprecated List
Global AccessResult::cacheUntilConfigurationChanges (ConfigBase $configuration)
in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use ::addCacheableDependency() instead.
Global AccessResult::cacheUntilEntityChanges (EntityInterface $entity)
in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use ::addCacheableDependency() instead.
Global AccountInterface::getUsername ()
in Drupal 8.0.0, will be removed before Drupal 9.0.0. Use ::getAccountName() or ::getDisplayName() instead.
Global ActiveTheme::getStyleSheetsRemove ()
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global BootstrapConfigStorageFactory::getFileStorage ()
in Drupal 8.0.x and will be removed before 9.0.0. Drupal core no longer creates an active directory.
Global Cache::validateTags (array $tags)
Use assert('::assertAllStrings($tags)');
Global check_url ($uri)
in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use UrlHelper::stripDangerousProtocols() or UrlHelper::filterBadProtocol() instead. UrlHelper::stripDangerousProtocols() can be used in conjunction with ::format() and an placeholder which will perform the necessary escaping. UrlHelper::filterBadProtocol() is functionality equivalent to check_url() apart from the fact it is protected from double escaping bugs. Note that this method no longer marks its output as safe.
Class ConfigurableEntityReferenceItem
in Drupal 8.0.x and will be removed in Drupal 9.0.x. Use instead.
Global db_add_field ($table, $field, $spec, $keys_new=array())
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container, get its schema driver, and call addField() on it. For example, $injected_database->schema()->addField($table, $field, $spec, $keys_new);
Global db_add_index ($table, $name, $fields, array $spec)
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container, get its schema driver, and call addIndex() on it. For example, $injected_database->schema()->addIndex($table, $name, $fields, $spec);
Global db_add_primary_key ($table, $fields)
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container, get its schema driver, and call addPrimaryKey() on it. For example, $injected_database->schema()->addPrimaryKey($table, $fields);
Global db_add_unique_key ($table, $name, $fields)
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container, get its schema driver, and call addUniqueKey() on it. For example, $injected_database->schema()->addUniqueKey($table, $name, $fields);
Global db_and ()
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Create a object, specifying an AND conjunction: new Condition('AND');
Global db_change_field ($table, $field, $field_new, $spec, $keys_new=array())
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container, get its schema driver, and call changeField() on it. For example, $injected_database->schema()->changeField($table, $field, $field_new, $spec, $keys_new);
Global db_close (array $options=array())
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Use ::closeConnection($target).
Global db_condition ($conjunction)
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Create a object, specifying the desired conjunction: new Condition($conjunctin);
Global db_create_table ($name, $table)
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container, get its schema driver, and call createTable() on it. For example, $injected_database->schema()->createTable($name, $table);
Global db_delete ($table, array $options=array())
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container and call delete() on it. For example, $injected_database->delete($table, $options);
Global db_driver ()
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container and call driver() on it. For example, $injected_database->driver($string);
Global db_drop_field ($table, $field)
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container, get its schema driver, and call dropField() on it. For example, $injected_database->schema()->dropField($table, $field);
Global db_drop_index ($table, $name)
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container, get its schema driver, and call dropIndex() on it. For example, $injected_database->schema()->dropIndex($table, $name);
Global db_drop_primary_key ($table)
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container, get its schema driver, and call dropPrimaryKey() on it. For example, $injected_database->schema()->dropPrimaryKey($table);
Global db_drop_table ($table)
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container, get its schema driver, and call dropTable() on it. For example, $injected_database->schema()->dropTable($table);
Global db_drop_unique_key ($table, $name)
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container, get its schema driver, and call dropUniqueKey() on it. For example, $injected_database->schema()->dropUniqueKey($table, $name);
Global db_escape_field ($field)
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container and call escapeTable() on it. For example, $injected_database->escapeTable($table);
Global db_escape_table ($table)
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container and call escapeTable() on it. For example, $injected_database->escapeTable($table);
Global db_field_exists ($table, $field)
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container, get its schema driver, and call fieldExists() on it. For example, $injected_database->schema()->fieldExists($table, $field);
Global db_field_names ($fields)
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container, get its schema driver, and call fieldNames() on it. For example, $injected_database->schema()->fieldNames($fields);
Global db_field_set_default ($table, $field, $default)
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container, get its schema driver, and call fieldSetDefault() on it. For example, $injected_database->schema()->fieldSetDefault($table, $field, $default);
Global db_field_set_no_default ($table, $field)
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container, get its schema driver, and call fieldSetNoDefault() on it. For example, $injected_database->schema()->fieldSetNoDefault($table, $field);
Global db_find_tables ($table_expression)
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container, get its schema driver, and call findTables() on it. For example, $injected_database->schema()->findTables($table_expression);
Global db_index_exists ($table, $name)
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container, get its schema driver, and call indexExists() on it. For example, $injected_database->schema()->indexExists($table, $name);
Global db_insert ($table, array $options=array())
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container and call insert() on it. For example, $injected_database->insert($table, $options);
Global db_like ($string)
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container and call escapeLike() on it. For example, $injected_database->escapeLike($string);
Global db_merge ($table, array $options=array())
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container and call merge() on it. For example, $injected_database->merge($table, $options);
Global db_next_id ($existing_id=0)
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container and call nextId() on it. For example, $injected_database->nextId($existing_id);
Global db_or ()
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Create a object, specifying an OR conjunction: new Condition('OR');
Global db_query ($query, array $args=array(), array $options=array())
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container and call query() on it. For example, $injected_database->query($query, $args, $options);
Global db_query_range ($query, $from, $count, array $args=array(), array $options=array())
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container and call queryRange() on it. For example, $injected_database->queryRange($query, $from, $count, $args, $options);
Global db_query_temporary ($query, array $args=array(), array $options=array())
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container and call queryTemporary() on it. For example, $injected_database->queryTemporary($query, $args, $options);
Global db_rename_table ($table, $new_name)
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container, get its schema driver, and call renameTable() on it. For example, $injected_database->schema()->renameTable($table, $new_name);
Global db_select ($table, $alias=NULL, array $options=array())
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container and call select() on it. For example, $injected_database->select($table, $alias, $options);
Global db_set_active ($key= 'default')
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Use ::setActiveConnection().
Global db_table_exists ($table)
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container, get its schema driver, and call tableExists() on it. For example, $injected_database->schema()->tableExists($table);
Global db_transaction ($name=NULL, array $options=array())
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container and call startTransaction() on it. For example, $injected_database->startTransaction($name);
Global db_truncate ($table, array $options=array())
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container and call truncate() on it. For example, $injected_database->truncate($table, $options);
Global db_update ($table, array $options=array())
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get a database connection injected into your service from the container and call update() on it. For example, $injected_database->update($table, $options);
Global db_xor ()
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Create a object, specifying an XOR conjunction: new Condition('XOR');
Global Drupal::entityManager ()
in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use ::entityTypeManager() instead in most cases. If the needed method is not on , see the deprecated to find the correct interface or service.
Global Drupal::l ($text, Url $url)
in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use instead. Example:
$link = Link::fromTextAndUrl($text, $url);
Global Drupal::url ($route_name, $route_parameters=array(), $options=array(), $collect_bubbleable_metadata=FALSE)
as of Drupal 8.0.x, will be removed before Drupal 9.0.0. Instead create a object directly, for example using Url::fromRoute().
Global drupal_basename ($uri, $suffix=NULL)
in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use ::basename().
Global drupal_chmod ($uri, $mode=NULL)
in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use ::chmod().
Global drupal_dirname ($uri)
in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use ::dirname().
Global drupal_get_destination ()
in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use the redirect.destination service.
Global drupal_mkdir ($uri, $mode=NULL, $recursive=FALSE, $context=NULL)
in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use ::mkdir().
Global drupal_move_uploaded_file ($filename, $uri)
in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use ::moveUploadedFile().
Global drupal_realpath ($uri)
in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use ::realpath().
Global drupal_rmdir ($uri, $context=NULL)
in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use ::rmdir().
Global drupal_tempnam ($directory, $prefix)
in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use ::tempnam().
Global drupal_unlink ($uri, $context=NULL)
in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use ::unlink().
Global DrupalKernelInterface::prepareLegacyRequest (Request $request)
in Drupal 8.0.x and will be removed before 9.0.0. Only used by legacy front-controller scripts.
Global Entity::entityManager ()
in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use ::entityTypeManager() instead in most cases. If the needed method is not on , see the deprecated to find the correct interface or service.
Global EntityDisplayFormBase::reduceOrder ($array, $a)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityDisplayFormBase::tablePreRender ($elements)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityFieldManagerInterface::useCaches ($use_caches=FALSE)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityFormInterface::setEntityManager (EntityManagerInterface $entity_manager)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Class EntityHandlerBase
in Drupal 8.0.x, will be removed before Drupal 9.0.0. Implement the container injection pattern of ::createInstance() to obtain the module handler service for your class.
Global EntityInterface::link ($text=NULL, $rel= 'canonical', array $options=[])
in Drupal 8.0.0, intended to be removed in Drupal 9.0.0 Please use toLink() instead.
Global EntityInterface::url ($rel= 'canonical', $options=array())
in Drupal 8.0.0, intended to be removed in Drupal 9.0.0 Please use toUrl() instead.
Global EntityInterface::urlInfo ($rel= 'canonical', array $options=array())
in Drupal 8.0.0, intended to be removed in Drupal 9.0.0 Use ::toUrl() instead.
Global EntityListBuilder::getLabel (EntityInterface $entity)
in Drupal 8.0.x, will be removed before Drupal 9.0.0 Use $entity->label() instead. This method used to escape the entity label. The render system's autoescape is now relied upon.
Class EntityManager
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::clearCachedBundles ()
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::clearCachedDefinitions ()
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::clearCachedFieldDefinitions ()
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::clearDisplayModeInfo ()
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::createHandlerInstance ($class, EntityTypeInterface $definition=null)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::createInstance ($plugin_id, array $configuration=[])
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::getAccessControlHandler ($entity_type)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::getAllBundleInfo ()
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::getAllFormModes ()
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::getAllViewModes ()
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::getBaseFieldDefinitions ($entity_type_id)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::getBundleInfo ($entity_type)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::getDefinition ($entity_type_id, $exception_on_invalid=TRUE)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::getDefinitions ()
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::getEntityTypeFromClass ($class_name)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::getEntityTypeLabels ($group=FALSE)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::getFieldDefinitions ($entity_type_id, $bundle)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::getFieldMap ()
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::getFieldMapByFieldType ($field_type)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::getFieldStorageDefinitions ($entity_type_id)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::getFormModeOptions ($entity_type_id)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::getFormModeOptionsByBundle ($entity_type_id, $bundle)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::getFormModes ($entity_type_id)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::getFormObject ($entity_type, $operation)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::getHandler ($entity_type, $handler_type)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::getInstance (array $options)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::getLastInstalledDefinition ($entity_type_id)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::getLastInstalledFieldStorageDefinitions ($entity_type_id)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::getListBuilder ($entity_type)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::getRouteProviders ($entity_type)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::getStorage ($entity_type)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::getTranslationFromContext (EntityInterface $entity, $langcode=NULL, $context=array())
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::getViewBuilder ($entity_type)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::getViewModeOptions ($entity_type_id)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::getViewModeOptionsByBundle ($entity_type_id, $bundle)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::getViewModes ($entity_type_id)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::hasDefinition ($plugin_id)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::hasHandler ($entity_type, $handler_type)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::loadEntityByConfigTarget ($entity_type_id, $target)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::loadEntityByUuid ($entity_type_id, $uuid)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::onBundleCreate ($bundle, $entity_type_id)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::onBundleDelete ($bundle, $entity_type_id)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::onEntityTypeDelete (EntityTypeInterface $entity_type)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::onEntityTypeUpdate (EntityTypeInterface $entity_type, EntityTypeInterface $original)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::onFieldDefinitionCreate (FieldDefinitionInterface $field_definition)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::onFieldDefinitionDelete (FieldDefinitionInterface $field_definition)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::onFieldDefinitionUpdate (FieldDefinitionInterface $field_definition, FieldDefinitionInterface $original)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::onFieldStorageDefinitionCreate (FieldStorageDefinitionInterface $storage_definition)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::onFieldStorageDefinitionDelete (FieldStorageDefinitionInterface $storage_definition)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::onFieldStorageDefinitionUpdate (FieldStorageDefinitionInterface $storage_definition, FieldStorageDefinitionInterface $original)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManager::setFieldMap (array $field_map)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Class EntityManagerInterface
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManagerInterface::getLastInstalledDefinition ($entity_type_id)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global EntityManagerInterface::getLastInstalledFieldStorageDefinitions ($entity_type_id)
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Class EntityReference
in Drupal 8.0.x and will be removed in Drupal 9.0.x. Use instead.
Class EntityReference
in Drupal 8.0.x and will be removed in Drupal 9.0.x. Use instead.
Class EntityReference
in Drupal 8.0.x and will be removed in Drupal 9.0.x. Use instead.
Global EntityTypeInterface::getLabelCallback ()
in Drupal 8.0.x-dev and will be removed before Drupal 9.0.0. Use Drupal::label() for complex label generation as needed.
Global EntityTypeInterface::hasLabelCallback ()
in Drupal 8.0.x-dev and will be removed before Drupal 9.0.0. Use EntityInterface::label() for complex label generation as needed.
Global EntityTypeInterface::setLabelCallback ($callback)
in Drupal 8.0.x-dev and will be removed before Drupal 9.0.0. Use EntityInterface::label() for complex label generation as needed.
Global EntityTypeRepositoryInterface::clearCachedDefinitions ()
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Global file_htaccess_lines ($private=TRUE)
in Drupal 8.0.x-dev and will be removed before Drupal 9.0.0. Use ::htaccessLines().
Global file_stream_wrapper_valid_scheme ($scheme)
in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use ::validScheme().
Global file_uri_scheme ($uri)
in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use ::uriScheme().
Global FileStorageFactory::getActive ()
in Drupal 8.0.x and will be removed before 9.0.0. Drupal core no longer creates an active directory.
Global format_date ($timestamp, $type= 'medium', $format= '', $timezone=NULL, $langcode=NULL)
in Drupal 8.0.0, will be removed before Drupal 9.0.0. Use ::service('date.formatter')->format().
Global format_string ($string, array $args)
in Drupal 8.0.0, will be removed before Drupal 9.0.0. Use ::format().
Global ForumManagerInterface::getParents ($tid)
Scheduled to be removed in 9.0.x, see https://www.drupal.org/node/2371593.
Namespace LinkGeneratorTrait
in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0.
File LinkGeneratorTrait.php
in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use instead.
Class SafeMarkup
Will be removed before Drupal 9.0.0. Use the appropriate sanitization functions or the theme and render systems so that the output can can be themed, escaped, and altered properly.
Global SafeMarkup::checkPlain ($text)
Will be removed before Drupal 9.0.0. Rely on Twig's auto-escaping feature, or use the #plain_text key when constructing a render array that contains plain text in order to use the renderer's auto-escaping feature. If neither of these are possible, ::escape() can be used in places where explicit escaping is needed.
Global SafeMarkup::format ($string, array $args)
in Drupal 8.0.0, will be removed before Drupal 9.0.0. Use .
Global SafeMarkup::isSafe ($string, $strategy= 'html')
in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Instead, you should just check if a variable is an instance of .
Class SelectionBase
in Drupal 8.0.0, will be removed before Drupal 9.0.0. Use
Global ThemeHandlerInterface::install (array $theme_list, $install_dependencies=TRUE)
in Drupal 8.0.x-dev and will be removed before Drupal 9.0.0. Use the theme_installer service instead.
Global ThemeHandlerInterface::uninstall (array $theme_list)
in Drupal 8.0.x-dev and will be removed before Drupal 9.0.0. Use the theme_installer service instead.
Class TranslationWrapper
in Drupal 8.x, will be removed before Drupal 9.0. Use the class instead.
Global TwigExtension::setGenerators (UrlGeneratorInterface $url_generator)
in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use ::setUrlGenerator().
File UrlGeneratorTrait.php
in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use instead.
Global valid_email_address ($mail)
in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use ::service('email.validator')->isValid().