db_insert |
core/includes/database.inc |
function |
in drupal:8.0.0 and is removed from 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); |
1 |
|
|
|
db_like |
core/includes/database.inc |
function |
in drupal:8.0.0 and is removed from 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); |
1 |
|
|
|
db_merge |
core/includes/database.inc |
function |
in drupal:8.0.0 and is removed from 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); |
1 |
|
|
|
db_next_id |
core/includes/database.inc |
function |
in drupal:8.0.0 and is removed from 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); |
1 |
|
|
|
db_or |
core/includes/database.inc |
function |
in drupal:8.0.0 and is removed from drupal:9.0.0. Create
a \Drupal\Core\Database\Query\Condition object, specifying an OR
conjunction: new Condition('OR'); |
1 |
|
|
|
db_query |
core/includes/database.inc |
function |
in drupal:8.0.0 and is removed from 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); |
1 |
|
|
|
db_query_range |
core/includes/database.inc |
function |
in drupal:8.0.0 and is removed from 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); |
|
|
|
|
db_query_temporary |
core/includes/database.inc |
function |
in drupal:8.0.0 and is removed from 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); |
1 |
|
|
|
db_rename_table |
core/includes/database.inc |
function |
in drupal:8.0.0 and is removed from 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); |
1 |
|
|
|
db_select |
core/includes/database.inc |
function |
in drupal:8.0.0 and is removed from 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); |
1 |
|
|
|
db_set_active |
core/includes/database.inc |
function |
in drupal:8.0.0 and is removed from drupal:9.0.0. Use
\Drupal\Core\Database\Database::setActiveConnection(). |
1 |
|
|
|
db_table_exists |
core/includes/database.inc |
function |
in drupal:8.0.0 and is removed from 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); |
1 |
|
|
|
db_transaction |
core/includes/database.inc |
function |
in drupal:8.0.0 and is removed from 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); |
1 |
|
|
|
db_truncate |
core/includes/database.inc |
function |
in drupal:8.0.0 and is removed from 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); |
1 |
|
|
|
db_update |
core/includes/database.inc |
function |
in drupal:8.0.0 and is removed from 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); |
1 |
|
|
|
db_xor |
core/includes/database.inc |
function |
in drupal:8.0.0 and is removed from drupal:9.0.0. Create
a \Drupal\Core\Database\Query\Condition object, specifying a XOR
conjunction: new Condition('XOR'); |
1 |
|
|
|
DedupeBase |
core/modules/migrate/src/Plugin/migrate/process/DedupeBase.php |
class |
in drupal:8.4.0 and is removed from drupal:9.0.0. Use
\Drupal\migrate\Plugin\migrate\process\MakeUniqueBase instead. |
|
|
|
|
DedupeEntity |
core/modules/migrate/src/Plugin/migrate/process/DedupeEntity.php |
class |
in drupal:8.4.0 and is removed from drupal:9.0.0. Use
\Drupal\migrate\Plugin\migrate\process\MakeUniqueEntityField instead. |
|
|
|
1 |
DeleteComment |
core/modules/comment/src/Plugin/Action/DeleteComment.php |
class |
in drupal:8.6.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\Action\Plugin\Action\DeleteAction instead. |
|
|
|
|
DeleteNode |
core/modules/node/src/Plugin/Action/DeleteNode.php |
class |
in drupal:8.6.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\Action\Plugin\Action\DeleteAction instead. |
|
|
|
|
deprecation_test_function |
core/modules/system/tests/modules/deprecation_test/deprecation_test.module |
function |
in drupal:8.4.0 and is removed from drupal:9.0.0. This is
the deprecation message for deprecated_test_function(). |
2 |
|
|
|
DisplayPluginBase::applyDisplayCachablityMetadata |
core/modules/views/src/Plugin/views/display/DisplayPluginBase.php |
function |
in drupal:8.4.0 and is removed from drupal:9.0.0. Use
DisplayPluginBase::applyDisplayCacheabilityMetadata instead. |
|
|
|
|
Drupal::entityManager |
core/lib/Drupal.php |
function |
in drupal:8.0.0 and is removed from drupal:9.0.0.
Use \Drupal::entityTypeManager() instead in most cases. If the needed
method is not on \Drupal\Core\Entity\EntityTypeManagerInterface, see the
deprecated \Drupal\Core\Entity\EntityManager to find the
correct interface or service. |
|
6 |
|
|
Drupal::l |
core/lib/Drupal.php |
function |
in drupal:8.0.0 and is removed from drupal:9.0.0. Use
\Drupal\Core\Link::fromTextAndUrl() instead. |
|
1 |
|
|
Drupal::url |
core/lib/Drupal.php |
function |
in drupal:8.0.0 and is removed from drupal:9.0.0.
Instead create a \Drupal\Core\Url object directly, for example using
Url::fromRoute(). |
|
1 |
|
|
DrupalKernelInterface::prepareLegacyRequest |
core/lib/Drupal/Core/DrupalKernelInterface.php |
function |
in drupal:8.0.0 and is removed from drupal:9.0.0. Use
DrupalKernel::boot() and DrupalKernel::preHandle() instead. |
|
|
1 |
|
DRUPAL_ANONYMOUS_RID |
core/includes/bootstrap.inc |
constant |
in drupal:8.0.0 and is removed from drupal:9.0.0.
Use Drupal\Core\Session\AccountInterface::ANONYMOUS_ROLE or
\Drupal\user\RoleInterface::ANONYMOUS_ID instead. |
|
|
|
|
DRUPAL_AUTHENTICATED_RID |
core/includes/bootstrap.inc |
constant |
in drupal:8.0.0 and is removed from drupal:9.0.0.
Use Drupal\Core\Session\AccountInterface::AUTHENTICATED_ROLE or
\Drupal\user\RoleInterface::AUTHENTICATED_ID instead. |
|
|
|
|
drupal_basename |
core/includes/file.inc |
function |
in drupal:8.0.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\File\FileSystem::basename(). |
1 |
|
|
|
drupal_check_incompatibility |
core/includes/common.inc |
function |
in drupal:8.7.0 and is removed from drupal:9.0.0. Use
\Drupal\Core\Extension\Dependency::isCompatible() instead. |
1 |
|
|
|
drupal_chmod |
core/includes/file.inc |
function |
in drupal:8.0.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\File\FileSystem::chmod(). |
1 |
|
|
|
drupal_classloader_register |
core/includes/bootstrap.inc |
function |
in drupal:8.8.0 and is removed from drupal:9.0.0. Use the
class loader as injected service instance to register the namespace:
$this->classLoader
->addPsr4('Drupal\\' . $name . '\\', \Drupal::root() . '/' . $path . '/src');
or the following code if the service cannot be injected:
\Drupal::service('class_loader')
->addPsr4('Drupal\\' . $name . '\\', \Drupal::root() . '/' . $path . '/src'); |
1 |
|
|
|
drupal_clear_css_cache |
core/includes/common.inc |
function |
in drupal:8.0.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\Asset\AssetCollectionOptimizerInterface::deleteAll(). |
|
|
|
|
drupal_clear_js_cache |
core/includes/common.inc |
function |
in drupal:8.0.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\Asset\AssetCollectionOptimizerInterface::deleteAll(). |
|
|
|
|
drupal_dirname |
core/includes/file.inc |
function |
in drupal:8.0.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\File\FileSystem::dirname(). |
1 |
|
|
|
drupal_get_destination |
core/includes/common.inc |
function |
in drupal:8.0.0 and is removed from drupal:9.0.0.
Use the redirect.destination service. |
|
|
|
|
drupal_get_messages |
core/includes/bootstrap.inc |
function |
in drupal:8.5.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::all() or
\Drupal\Core\Messenger\MessengerInterface::messagesByType() instead. |
1 |
|
|
|
drupal_get_profile |
core/includes/bootstrap.inc |
function |
in drupal:8.3.0 and is removed from drupal:9.0.0.
Use the install_profile container parameter or \Drupal::installProfile()
instead. If you are accessing the value before it is written to
configuration during the installer use the $install_state global. If you
need to access the value before container is available you can use
BootstrapConfigStorageFactory to load the value directly from
configuration. |
1 |
|
|
|
drupal_get_user_timezone |
core/includes/bootstrap.inc |
function |
in drupal:8.8.0 and is removed from drupal:9.0.0. Use
date_default_timezone_get() instead. |
1 |
|
|
|
drupal_http_header_attributes |
core/includes/common.inc |
function |
in drupal:8.7.0 and is removed from drupal:9.0.0. Use
\Drupal\Core\Render\HtmlResponseAttachmentsProcessor::formatHttpHeaderAttributes()
instead. |
1 |
|
|
|
drupal_installation_attempted |
core/includes/bootstrap.inc |
function |
in drupal:8.8.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\Installer\InstallerKernel::installationAttempted()
instead. |
1 |
|
|
|
drupal_install_config_directories |
core/includes/install.inc |
function |
in drupal:8.8.0 and is removed from drupal:9.0.0. There is no
replacement. |
|
|
|
|
drupal_mkdir |
core/includes/file.inc |
function |
in drupal:8.0.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\File\FileSystem::mkdir(). |
1 |
|
|
|
drupal_move_uploaded_file |
core/includes/file.inc |
function |
in drupal:8.0.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\File\FileSystem::moveUploadedFile(). |
1 |
|
|
|
DRUPAL_PHP_FUNCTION_PATTERN |
core/includes/bootstrap.inc |
constant |
in drupal:8.8.0 and is removed from drupal:9.0.0. Use
\Drupal\Core\Extension\ExtensionDiscovery::PHP_FUNCTION_PATTERN instead. |
|
|
|
|
drupal_placeholder |
core/includes/bootstrap.inc |
function |
in drupal:8.0.0 and is removed from drupal:9.0.0. Use
\Drupal\Component\Render\FormattableMarkup or Twig's "placeholder" filter
instead. Note this method should not be used to simply emphasize a string
and therefore has few valid use-cases. Note also, that this method does not
mark the string as safe. |
|
|
|
|
drupal_pre_render_link |
core/includes/common.inc |
function |
in drupal:8.0.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\Render\Element\Link::preRenderLink(). |
|
|
|
|
drupal_pre_render_links |
core/includes/common.inc |
function |
in drupal:8.0.0 and is removed from drupal:9.0.0. Use
\Drupal\Core\Render\Element\Link::preRenderLinks() instead. |
|
|
|
|
drupal_process_states |
core/includes/common.inc |
function |
in drupal:8.8.0 and is removed from drupal:9.0.0. Use
\Drupal\Core\Form\FormHelper::processStates() instead. |
1 |
|
|
|
drupal_realpath |
core/includes/file.inc |
function |
in drupal:8.0.0 and is removed from drupal:9.0.0.
Use \Drupal\Core\File\FileSystem::realpath(). |
1 |
|
|
|