Skip to content
Snippets Groups Projects
Unverified Commit 6b52bd31 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3048498 by jonathan1055, Lendude, naveenvalecha, klausi, alexpott,...

Issue #3048498 by jonathan1055, Lendude, naveenvalecha, klausi, alexpott, Gábor Hojtsy: [≈Nov. 11] Fix Drupal.Commenting.Deprecated coding standard

(cherry picked from commit 2a009c5e)
parent 881064cf
Branches
Tags
9 merge requests!1445Issue #2920039: Views' User Name exposed group filter validation,!1298Issue #3240993: Let layout builder render inline block translations,!774Issue #3174569: Example node template file name is incorrect,!497Issue #2463967: Use .user.ini file for PHP settings,!433Resolve #3163663 "Too many open files",!233Resolve #2693787 "Taxonomy term name",!133Resolve #2666286 "Clean up menuui",!112Resolve #3187004 "Drupaldatetime serialization issue",!53Resolve #3181870: Correct typo "the the" in "core/classList" deprecation message.
Showing
with 156 additions and 156 deletions
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
/** /**
* Role ID for anonymous users; should match what's in the "role" table. * Role ID for anonymous users; should match what's in the "role" table.
* *
* @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
* Use Drupal\Core\Session\AccountInterface::ANONYMOUS_ROLE or * Use Drupal\Core\Session\AccountInterface::ANONYMOUS_ROLE or
* \Drupal\user\RoleInterface::ANONYMOUS_ID instead. * \Drupal\user\RoleInterface::ANONYMOUS_ID instead.
* *
...@@ -108,7 +108,7 @@ ...@@ -108,7 +108,7 @@
/** /**
* Role ID for authenticated users; should match what's in the "role" table. * Role ID for authenticated users; should match what's in the "role" table.
* *
* @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
* Use Drupal\Core\Session\AccountInterface::AUTHENTICATED_ROLE or * Use Drupal\Core\Session\AccountInterface::AUTHENTICATED_ROLE or
* \Drupal\user\RoleInterface::AUTHENTICATED_ID instead. * \Drupal\user\RoleInterface::AUTHENTICATED_ID instead.
* *
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
* @see http://php.net/manual/reserved.variables.server.php * @see http://php.net/manual/reserved.variables.server.php
* @see http://php.net/manual/function.time.php * @see http://php.net/manual/function.time.php
* *
* @deprecated in Drupal 8.3.0, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.3.0 and is removed from drupal:9.0.0.
* Use \Drupal::time()->getRequestTime(); * Use \Drupal::time()->getRequestTime();
* *
* @see https://www.drupal.org/node/2785211 * @see https://www.drupal.org/node/2785211
...@@ -150,7 +150,7 @@ ...@@ -150,7 +150,7 @@
* *
* @see config_get_config_directory() * @see config_get_config_directory()
* *
* @deprecated in Drupal 8.0.x and will be removed before 9.0.0. Drupal core no * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Drupal core no
* longer creates an active directory. * longer creates an active directory.
* *
* @see https://www.drupal.org/node/2501187 * @see https://www.drupal.org/node/2501187
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
* @see config_get_config_directory() * @see config_get_config_directory()
* @see CONFIG_SYNC_DIRECTORY * @see CONFIG_SYNC_DIRECTORY
* *
* @deprecated in Drupal 8.0.x and will be removed before 9.0.0. The staging * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. The staging
* directory was renamed to sync. * directory was renamed to sync.
* *
* @see https://www.drupal.org/node/2574957 * @see https://www.drupal.org/node/2574957
...@@ -395,7 +395,7 @@ function format_string($string, array $args) { ...@@ -395,7 +395,7 @@ function format_string($string, array $args) {
* *
* @see \Drupal\Component\Utility\Unicode::validateUtf8() * @see \Drupal\Component\Utility\Unicode::validateUtf8()
* *
* @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
* Use \Drupal\Component\Utility\Unicode::validateUtf8(). * Use \Drupal\Component\Utility\Unicode::validateUtf8().
* *
* @see https://www.drupal.org/node/1992584 * @see https://www.drupal.org/node/1992584
...@@ -496,7 +496,7 @@ function watchdog_exception($type, Exception $exception, $message = NULL, $varia ...@@ -496,7 +496,7 @@ function watchdog_exception($type, Exception $exception, $message = NULL, $varia
* @see status-messages.html.twig * @see status-messages.html.twig
* @see https://www.drupal.org/node/2774931 * @see https://www.drupal.org/node/2774931
* *
* @deprecated in Drupal 8.5.0 and will be removed before Drupal 9.0.0. * @deprecated in drupal:8.5.0 and is removed from drupal:9.0.0.
* Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead. * Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
*/ */
function drupal_set_message($message = NULL, $type = 'status', $repeat = FALSE) { function drupal_set_message($message = NULL, $type = 'status', $repeat = FALSE) {
...@@ -534,7 +534,7 @@ function drupal_set_message($message = NULL, $type = 'status', $repeat = FALSE) ...@@ -534,7 +534,7 @@ function drupal_set_message($message = NULL, $type = 'status', $repeat = FALSE)
* @see status-messages.html.twig * @see status-messages.html.twig
* @see https://www.drupal.org/node/2774931 * @see https://www.drupal.org/node/2774931
* *
* @deprecated in Drupal 8.5.0 and will be removed before Drupal 9.0.0. * @deprecated in drupal:8.5.0 and is removed from drupal:9.0.0.
* Use \Drupal\Core\Messenger\MessengerInterface::all() or * Use \Drupal\Core\Messenger\MessengerInterface::all() or
* \Drupal\Core\Messenger\MessengerInterface::messagesByType() instead. * \Drupal\Core\Messenger\MessengerInterface::messagesByType() instead.
*/ */
...@@ -566,7 +566,7 @@ function drupal_get_messages($type = NULL, $clear_queue = TRUE) { ...@@ -566,7 +566,7 @@ function drupal_get_messages($type = NULL, $clear_queue = TRUE) {
* @return string * @return string
* The name of the current user's timezone or the name of the default timezone. * The name of the current user's timezone or the name of the default timezone.
* *
* @deprecated in drupal:8.8.0 and will be removed from drupal:9.0.0. Use * @deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use
* date_default_timezone_get() instead. * date_default_timezone_get() instead.
* *
* @see https://www.drupal.org/node/3009387 * @see https://www.drupal.org/node/3009387
...@@ -820,7 +820,7 @@ function drupal_get_profile() { ...@@ -820,7 +820,7 @@ function drupal_get_profile() {
* @param string $path * @param string $path
* The relative path to the Drupal component in the filesystem. * The relative path to the Drupal component in the filesystem.
* *
* @deprecated in Drupal 8.8.0, will be removed before Drupal 9.0.0. Use the * @deprecated 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: * class loader as injected service instance to register the namespace:
* @code * @code
* $this->classLoader->addPsr4('Drupal\\' . $name . '\\', \Drupal::root() . '/' . $path . '/src'); * $this->classLoader->addPsr4('Drupal\\' . $name . '\\', \Drupal::root() . '/' . $path . '/src');
...@@ -998,7 +998,7 @@ function drupal_static_reset($name = NULL) { ...@@ -998,7 +998,7 @@ function drupal_static_reset($name = NULL) {
/** /**
* Formats text for emphasized display in a placeholder inside a sentence. * Formats text for emphasized display in a placeholder inside a sentence.
* *
* @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. Use * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use
* \Drupal\Component\Render\FormattableMarkup or Twig's "placeholder" filter * \Drupal\Component\Render\FormattableMarkup or Twig's "placeholder" filter
* instead. Note this method should not be used to simply emphasize a string * 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 * and therefore has few valid use-cases. Note also, that this method does not
......
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
/** /**
* The delimiter used to split plural strings. * The delimiter used to split plural strings.
* *
* @deprecated in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
* Use Drupal\Component\Gettext\PoItem::DELIMITER instead. * Use Drupal\Component\Gettext\PoItem::DELIMITER instead.
*/ */
const LOCALE_PLURAL_DELIMITER = PoItem::DELIMITER; const LOCALE_PLURAL_DELIMITER = PoItem::DELIMITER;
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
* *
* @ingroup form_api * @ingroup form_api
* *
* @deprecated in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
* Use the redirect.destination service. * Use the redirect.destination service.
* *
* @see \Drupal\Core\EventSubscriber\RedirectResponseSubscriber::checkRedirectUrl() * @see \Drupal\Core\EventSubscriber\RedirectResponseSubscriber::checkRedirectUrl()
...@@ -174,7 +174,7 @@ function drupal_get_destination() { ...@@ -174,7 +174,7 @@ function drupal_get_destination() {
* @return bool * @return bool
* TRUE if the address is in a valid format. * TRUE if the address is in a valid format.
* *
* @deprecated in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
* Use \Drupal::service('email.validator')->isValid(). * Use \Drupal::service('email.validator')->isValid().
* *
* @see https://www.drupal.org/node/2912661 * @see https://www.drupal.org/node/2912661
...@@ -211,7 +211,7 @@ function valid_email_address($mail) { ...@@ -211,7 +211,7 @@ function valid_email_address($mail) {
* Drupal\Core\Template\Attribute, call * Drupal\Core\Template\Attribute, call
* \Drupal\Component\Utility\UrlHelper::stripDangerousProtocols() instead. * \Drupal\Component\Utility\UrlHelper::stripDangerousProtocols() instead.
* *
* @deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
* Use UrlHelper::stripDangerousProtocols() or UrlHelper::filterBadProtocol() * Use UrlHelper::stripDangerousProtocols() or UrlHelper::filterBadProtocol()
* instead. UrlHelper::stripDangerousProtocols() can be used in conjunction * instead. UrlHelper::stripDangerousProtocols() can be used in conjunction
* with \Drupal\Component\Render\FormattableMarkup and an @variable * with \Drupal\Component\Render\FormattableMarkup and an @variable
...@@ -323,7 +323,7 @@ function format_size($size, $langcode = NULL) { ...@@ -323,7 +323,7 @@ function format_size($size, $langcode = NULL) {
* @return * @return
* A translated date string in the requested format. * A translated date string in the requested format.
* *
* @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
* Use \Drupal::service('date.formatter')->format(). * Use \Drupal::service('date.formatter')->format().
* *
* @see \Drupal\Core\Datetime\DateFormatter::format() * @see \Drupal\Core\Datetime\DateFormatter::format()
...@@ -343,7 +343,7 @@ function format_date($timestamp, $type = 'medium', $format = '', $timezone = NUL ...@@ -343,7 +343,7 @@ function format_date($timestamp, $type = 'medium', $format = '', $timezone = NUL
* @return string * @return string
* An ISO8601 formatted date. * An ISO8601 formatted date.
* *
* @deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Use * @deprecated in drupal:8.7.0 and is removed from drupal:9.0.0. Use
* date('c', $date) instead. * date('c', $date) instead.
* *
* @see https://www.drupal.org/node/2999991 * @see https://www.drupal.org/node/2999991
...@@ -369,7 +369,7 @@ function date_iso8601($date) { ...@@ -369,7 +369,7 @@ function date_iso8601($date) {
* A ; separated string ready for insertion in a HTTP header. No escaping is * A ; separated string ready for insertion in a HTTP header. No escaping is
* performed for HTML entities, so this string is not safe to be printed. * performed for HTML entities, so this string is not safe to be printed.
* *
* @deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Use * @deprecated in drupal:8.7.0 and is removed from drupal:9.0.0. Use
* \Drupal\Core\Render\HtmlResponseAttachmentsProcessor::formatHttpHeaderAttributes() * \Drupal\Core\Render\HtmlResponseAttachmentsProcessor::formatHttpHeaderAttributes()
* instead. * instead.
* *
...@@ -408,7 +408,7 @@ function drupal_http_header_attributes(array $attributes = []) { ...@@ -408,7 +408,7 @@ function drupal_http_header_attributes(array $attributes = []) {
* *
* @ingroup php_wrappers * @ingroup php_wrappers
* *
* @deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Use * @deprecated in drupal:8.7.0 and is removed from drupal:9.0.0. Use
* \Drupal\Component\Utility\Environment::setTimeLimit() instead. * \Drupal\Component\Utility\Environment::setTimeLimit() instead.
* *
* @see https://www.drupal.org/node/3000058 * @see https://www.drupal.org/node/3000058
...@@ -435,7 +435,7 @@ function base_path() { ...@@ -435,7 +435,7 @@ function base_path() {
/** /**
* Deletes old cached CSS files. * Deletes old cached CSS files.
* *
* @deprecated in Drupal 8.x, will be removed before Drupal 9.0. * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
* Use \Drupal\Core\Asset\AssetCollectionOptimizerInterface::deleteAll(). * Use \Drupal\Core\Asset\AssetCollectionOptimizerInterface::deleteAll().
* *
* @see https://www.drupal.org/node/2317841 * @see https://www.drupal.org/node/2317841
...@@ -753,7 +753,7 @@ function drupal_attach_tabledrag(&$element, array $options) { ...@@ -753,7 +753,7 @@ function drupal_attach_tabledrag(&$element, array $options) {
/** /**
* Deletes old cached JavaScript files and variables. * Deletes old cached JavaScript files and variables.
* *
* @deprecated in Drupal 8.x, will be removed before Drupal 9.0. * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
* Use \Drupal\Core\Asset\AssetCollectionOptimizerInterface::deleteAll(). * Use \Drupal\Core\Asset\AssetCollectionOptimizerInterface::deleteAll().
* *
* @see https://www.drupal.org/node/2317841 * @see https://www.drupal.org/node/2317841
...@@ -765,7 +765,7 @@ function drupal_clear_js_cache() { ...@@ -765,7 +765,7 @@ function drupal_clear_js_cache() {
/** /**
* Pre-render callback: Renders a link into #markup. * Pre-render callback: Renders a link into #markup.
* *
* @deprecated in Drupal 8.x, will be removed before Drupal 9.0. * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
* Use \Drupal\Core\Render\Element\Link::preRenderLink(). * Use \Drupal\Core\Render\Element\Link::preRenderLink().
*/ */
function drupal_pre_render_link($element) { function drupal_pre_render_link($element) {
...@@ -775,7 +775,7 @@ function drupal_pre_render_link($element) { ...@@ -775,7 +775,7 @@ function drupal_pre_render_link($element) {
/** /**
* Pre-render callback: Collects child links into a single array. * Pre-render callback: Collects child links into a single array.
* *
* @deprecated in drupal:8.0.0 and will be removed before drupal:9.0.0. Use * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use
* \Drupal\Core\Render\Element\Link::preRenderLinks() instead. * \Drupal\Core\Render\Element\Link::preRenderLinks() instead.
* *
* @see https://www.drupal.org/node/2966725 * @see https://www.drupal.org/node/2966725
...@@ -788,7 +788,7 @@ function drupal_pre_render_links($element) { ...@@ -788,7 +788,7 @@ function drupal_pre_render_links($element) {
/** /**
* Renders final HTML given a structured array tree. * Renders final HTML given a structured array tree.
* *
* @deprecated as of drupal:8.0.0 and is removed from drupal:9.0.0. Use * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use
* \Drupal\Core\Render\RendererInterface::renderRoot() instead. * \Drupal\Core\Render\RendererInterface::renderRoot() instead.
* *
* @see \Drupal\Core\Render\RendererInterface::renderRoot() * @see \Drupal\Core\Render\RendererInterface::renderRoot()
...@@ -802,7 +802,7 @@ function drupal_render_root(&$elements) { ...@@ -802,7 +802,7 @@ function drupal_render_root(&$elements) {
/** /**
* Renders HTML given a structured array tree. * Renders HTML given a structured array tree.
* *
* @deprecated as of Drupal 8.0.x, will be removed before Drupal 9.0.0. Use the * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use the
* 'renderer' service instead. * 'renderer' service instead.
* *
* @see \Drupal\Core\Render\RendererInterface::render() * @see \Drupal\Core\Render\RendererInterface::render()
...@@ -825,7 +825,7 @@ function drupal_render(&$elements, $is_recursive_call = FALSE) { ...@@ -825,7 +825,7 @@ function drupal_render(&$elements, $is_recursive_call = FALSE) {
* @return string|\Drupal\Component\Render\MarkupInterface * @return string|\Drupal\Component\Render\MarkupInterface
* The rendered HTML of all children of the element. * The rendered HTML of all children of the element.
* *
* @deprecated in Drupal 8.0.x and will be removed before 9.0.0. Avoid early * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Avoid early
* rendering when possible or loop through the elements and render them as * rendering when possible or loop through the elements and render them as
* they are available. * they are available.
* *
...@@ -942,7 +942,7 @@ function show(&$element) { ...@@ -942,7 +942,7 @@ function show(&$element) {
* @param $type * @param $type
* An element type as defined by an element plugin. * An element type as defined by an element plugin.
* *
* @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
* Use \Drupal::service('element_info')->getInfo() instead. * Use \Drupal::service('element_info')->getInfo() instead.
* *
* @see https://www.drupal.org/node/2235461 * @see https://www.drupal.org/node/2235461
...@@ -962,7 +962,7 @@ function element_info($type) { ...@@ -962,7 +962,7 @@ function element_info($type) {
* (Optional) The value to return if the element type does not specify a * (Optional) The value to return if the element type does not specify a
* value for the property. Defaults to NULL. * value for the property. Defaults to NULL.
* *
* @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
* Use \Drupal::service('element_info')->getInfoProperty() instead. * Use \Drupal::service('element_info')->getInfoProperty() instead.
* *
* @see https://www.drupal.org/node/2235461 * @see https://www.drupal.org/node/2235461
...@@ -1143,7 +1143,7 @@ function debug($data, $label = NULL, $print_r = TRUE) { ...@@ -1143,7 +1143,7 @@ function debug($data, $label = NULL, $print_r = TRUE) {
* NULL if compatible, otherwise the original dependency version string that * NULL if compatible, otherwise the original dependency version string that
* caused the incompatibility. * caused the incompatibility.
* *
* @deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Use * @deprecated in drupal:8.7.0 and is removed from drupal:9.0.0. Use
* \Drupal\Core\Extension\Dependency::isCompatible() instead. * \Drupal\Core\Extension\Dependency::isCompatible() instead.
* *
* @see https://www.drupal.org/node/2756875 * @see https://www.drupal.org/node/2756875
...@@ -1166,7 +1166,7 @@ function drupal_check_incompatibility($v, $current_version) { ...@@ -1166,7 +1166,7 @@ function drupal_check_incompatibility($v, $current_version) {
* A space-separated string of extensions suitable for use by the file * A space-separated string of extensions suitable for use by the file
* validation system. * validation system.
* *
* @deprecated in Drupal 8.8.0 and will be removed before Drupal 9.0.0. Use * @deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use
* \Drupal\Core\Archiver\ArchiverManager::getExtensions() instead. * \Drupal\Core\Archiver\ArchiverManager::getExtensions() instead.
* *
* @see https://www.drupal.org/node/2999951 * @see https://www.drupal.org/node/2999951
...@@ -1191,7 +1191,7 @@ function archiver_get_extensions() { ...@@ -1191,7 +1191,7 @@ function archiver_get_extensions() {
* @throws \Exception * @throws \Exception
* If a remote stream wrapper path was passed. * If a remote stream wrapper path was passed.
* *
* @deprecated in Drupal 8.8.0 and will be removed before Drupal 9.0.0. Instead, * @deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Instead,
* get plugin.manager.archiver service from container and call getInstance() * get plugin.manager.archiver service from container and call getInstance()
* method on it. For example $archiver->getInstance(['filepath' => $file]); * method on it. For example $archiver->getInstance(['filepath' => $file]);
* *
......
This diff is collapsed.
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
/** /**
* Clears the entity render cache for all entity types. * Clears the entity render cache for all entity types.
* *
* @deprecated in Drupal 8.7.x and will be removed before Drupal 9.0.0. Instead, * @deprecated in drupal:8.7.0 and is removed from drupal:9.0.0. Instead,
* use \Drupal\Core\Entity\EntityViewBuilderInterface::resetCache() on the * use \Drupal\Core\Entity\EntityViewBuilderInterface::resetCache() on the
* required entity types or invalidate specific cache tags. * required entity types or invalidate specific cache tags.
* *
...@@ -38,7 +38,7 @@ function entity_render_cache_clear() { ...@@ -38,7 +38,7 @@ function entity_render_cache_clear() {
* @return array * @return array
* The bundle info for a specific entity type, or all entity types. * The bundle info for a specific entity type, or all entity types.
* *
* @deprecated in Drupal 8.x-dev and will be removed before Drupal 9.0.0. Use * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use
* \Drupal\Core\Entity\EntityTypeBundleInfoInterface::getBundleInfo() for a * \Drupal\Core\Entity\EntityTypeBundleInfoInterface::getBundleInfo() for a
* single bundle, or * single bundle, or
* \Drupal\Core\Entity\EntityTypeBundleInfoInterface::getAllBundleInfo() for * \Drupal\Core\Entity\EntityTypeBundleInfoInterface::getAllBundleInfo() for
...@@ -71,7 +71,7 @@ function entity_get_bundles($entity_type = NULL) { ...@@ -71,7 +71,7 @@ function entity_get_bundles($entity_type = NULL) {
* @return \Drupal\Core\Entity\EntityInterface|null * @return \Drupal\Core\Entity\EntityInterface|null
* The entity object, or NULL if there is no entity with the given ID. * The entity object, or NULL if there is no entity with the given ID.
* *
* @deprecated in Drupal 8.0.x, will be removed before Drupal 9.0.0. Use the * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use the
* entity type storage's load() method. * entity type storage's load() method.
* *
* @see https://www.drupal.org/node/2266845 * @see https://www.drupal.org/node/2266845
...@@ -97,7 +97,7 @@ function entity_load($entity_type, $id, $reset = FALSE) { ...@@ -97,7 +97,7 @@ function entity_load($entity_type, $id, $reset = FALSE) {
* The entity object, or NULL if there is no entity with the given revision * The entity object, or NULL if there is no entity with the given revision
* id. * id.
* *
* @deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use the * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use the
* entity type storage's loadRevision() method. * entity type storage's loadRevision() method.
* *
* @see https://www.drupal.org/node/1818376 * @see https://www.drupal.org/node/1818376
...@@ -117,7 +117,7 @@ function entity_revision_load($entity_type, $revision_id) { ...@@ -117,7 +117,7 @@ function entity_revision_load($entity_type, $revision_id) {
* @param $revision_id * @param $revision_id
* The revision ID to delete. * The revision ID to delete.
* *
* @deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use the * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use the
* entity type storage's deleteRevision() method. * entity type storage's deleteRevision() method.
* *
* @see https://www.drupal.org/node/1818376 * @see https://www.drupal.org/node/1818376
...@@ -157,7 +157,7 @@ function entity_revision_delete($entity_type, $revision_id) { ...@@ -157,7 +157,7 @@ function entity_revision_delete($entity_type, $revision_id) {
* @return array * @return array
* An array of entity objects indexed by their IDs. * An array of entity objects indexed by their IDs.
* *
* @deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use the * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use the
* entity type storage's loadMultiple() method. * entity type storage's loadMultiple() method.
* *
* @see https://www.drupal.org/node/2266845 * @see https://www.drupal.org/node/2266845
...@@ -184,7 +184,7 @@ function entity_load_multiple($entity_type, array $ids = NULL, $reset = FALSE) { ...@@ -184,7 +184,7 @@ function entity_load_multiple($entity_type, array $ids = NULL, $reset = FALSE) {
* An array of entity objects indexed by their IDs. Returns an empty array if * An array of entity objects indexed by their IDs. Returns an empty array if
* no matching entities are found. * no matching entities are found.
* *
* @deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use the * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use the
* entity type storage's loadByProperties() method. * entity type storage's loadByProperties() method.
* *
* @see https://www.drupal.org/node/3050910 * @see https://www.drupal.org/node/3050910
...@@ -212,7 +212,7 @@ function entity_load_multiple_by_properties($entity_type, array $values) { ...@@ -212,7 +212,7 @@ function entity_load_multiple_by_properties($entity_type, array $values) {
* @return \Drupal\Core\Entity\EntityInterface|null * @return \Drupal\Core\Entity\EntityInterface|null
* The unchanged entity, or FALSE if the entity cannot be loaded. * The unchanged entity, or FALSE if the entity cannot be loaded.
* *
* @deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use the * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use the
* entity type storage's loadUnchanged() method. * entity type storage's loadUnchanged() method.
* *
* @see https://www.drupal.org/node/1935744 * @see https://www.drupal.org/node/1935744
...@@ -232,7 +232,7 @@ function entity_load_unchanged($entity_type, $id) { ...@@ -232,7 +232,7 @@ function entity_load_unchanged($entity_type, $id) {
* @param array $ids * @param array $ids
* An array of entity IDs of the entities to delete. * An array of entity IDs of the entities to delete.
* *
* @deprecated as of Drupal 8.0.x, will be removed before Drupal 9.0.0. Use * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use
* the entity storage's delete() method to delete multiple entities: * the entity storage's delete() method to delete multiple entities:
* @code * @code
* $storage_handler = \Drupal::entityTypeManager()->getStorage($entity_type); * $storage_handler = \Drupal::entityTypeManager()->getStorage($entity_type);
...@@ -264,7 +264,7 @@ function entity_delete_multiple($entity_type, array $ids) { ...@@ -264,7 +264,7 @@ function entity_delete_multiple($entity_type, array $ids) {
* @return \Drupal\Core\Entity\EntityInterface * @return \Drupal\Core\Entity\EntityInterface
* A new entity object. * A new entity object.
* *
* @deprecated in Drupal 8.0.x, will be removed before Drupal 9.0.0. Use * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use
* The method overriding Entity::create() for the entity type, e.g. * The method overriding Entity::create() for the entity type, e.g.
* \Drupal\node\Entity\Node::create() if the entity type is known. If the * \Drupal\node\Entity\Node::create() if the entity type is known. If the
* entity type is variable, use the entity storage's create() method to * entity type is variable, use the entity storage's create() method to
...@@ -297,7 +297,7 @@ function entity_create($entity_type, array $values = []) { ...@@ -297,7 +297,7 @@ function entity_create($entity_type, array $values = []) {
* @return string|null * @return string|null
* The label of the entity, or NULL if there is no label defined. * The label of the entity, or NULL if there is no label defined.
* *
* @deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. Use the * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use the
* entity's label() method. * entity's label() method.
* *
* @see https://www.drupal.org/node/2549923 * @see https://www.drupal.org/node/2549923
...@@ -325,7 +325,7 @@ function entity_page_label(EntityInterface $entity, $langcode = NULL) { ...@@ -325,7 +325,7 @@ function entity_page_label(EntityInterface $entity, $langcode = NULL) {
* @return array * @return array
* A render array for the entity. * A render array for the entity.
* *
* @deprecated as of Drupal 8.0.x, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
* Use the entity view builder's view() method for creating a render array: * Use the entity view builder's view() method for creating a render array:
* @code * @code
* $view_builder = \Drupal::entityTypeManager() * $view_builder = \Drupal::entityTypeManager()
...@@ -364,7 +364,7 @@ function entity_view(EntityInterface $entity, $view_mode, $langcode = NULL, $res ...@@ -364,7 +364,7 @@ function entity_view(EntityInterface $entity, $view_mode, $langcode = NULL, $res
* A render array for the entities, indexed by the same keys as the * A render array for the entities, indexed by the same keys as the
* entities array passed in $entities. * entities array passed in $entities.
* *
* @deprecated as of Drupal 8.0.x, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
* Use the entity view builder's viewMultiple() method for creating a render * Use the entity view builder's viewMultiple() method for creating a render
* array for the provided entities: * array for the provided entities:
* @code * @code
...@@ -425,7 +425,7 @@ function entity_view_multiple(array $entities, $view_mode, $langcode = NULL, $re ...@@ -425,7 +425,7 @@ function entity_view_multiple(array $entities, $view_mode, $langcode = NULL, $re
* @return \Drupal\Core\Entity\Display\EntityViewDisplayInterface * @return \Drupal\Core\Entity\Display\EntityViewDisplayInterface
* The entity view display associated with the view mode. * The entity view display associated with the view mode.
* *
* @deprecated in drupal:8.8.0 and will be removed from drupal:9.0.0. Use * @deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use
* EntityDisplayRepositoryInterface::getViewDisplay() instead. * EntityDisplayRepositoryInterface::getViewDisplay() instead.
* *
* @see https://www.drupal.org/node/2835616 * @see https://www.drupal.org/node/2835616
...@@ -471,7 +471,7 @@ function entity_get_display($entity_type, $bundle, $view_mode) { ...@@ -471,7 +471,7 @@ function entity_get_display($entity_type, $bundle, $view_mode) {
* @return \Drupal\Core\Entity\Display\EntityFormDisplayInterface * @return \Drupal\Core\Entity\Display\EntityFormDisplayInterface
* The entity form display associated with the given form mode. * The entity form display associated with the given form mode.
* *
* @deprecated in drupal:8.8.0 and will be removed from drupal:9.0.0. Use * @deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use
* EntityDisplayRepositoryInterface::getFormDisplay() instead. * EntityDisplayRepositoryInterface::getFormDisplay() instead.
* *
* @see https://www.drupal.org/node/2835616 * @see https://www.drupal.org/node/2835616
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
/** /**
* Default mode for new directories. * Default mode for new directories.
* *
* @deprecated in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
* Use \Drupal\Core\File\FileSystem::CHMOD_DIRECTORY. * Use \Drupal\Core\File\FileSystem::CHMOD_DIRECTORY.
* *
* @see \Drupal\Core\File\FileSystemInterface::chmod() * @see \Drupal\Core\File\FileSystemInterface::chmod()
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
/** /**
* Default mode for new files. * Default mode for new files.
* *
* @deprecated in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
* Use \Drupal\Core\File\FileSystem::CHMOD_FILE. * Use \Drupal\Core\File\FileSystem::CHMOD_FILE.
* *
* @see \Drupal\Core\File\FileSystemInterface::chmod() * @see \Drupal\Core\File\FileSystemInterface::chmod()
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
/** /**
* Flag used to create a directory if not present. * Flag used to create a directory if not present.
* *
* @deprecated in Drupal 8.7.0, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.7.0 and is removed from drupal:9.0.0.
* Use \Drupal\Core\File\FileSystemInterface::CREATE_DIRECTORY. * Use \Drupal\Core\File\FileSystemInterface::CREATE_DIRECTORY.
*/ */
const FILE_CREATE_DIRECTORY = FileSystemInterface::CREATE_DIRECTORY; const FILE_CREATE_DIRECTORY = FileSystemInterface::CREATE_DIRECTORY;
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
/** /**
* Flag used to indicate file permissions may be changed. * Flag used to indicate file permissions may be changed.
* *
* @deprecated in Drupal 8.7.0, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.7.0 and is removed from drupal:9.0.0.
* Use \Drupal\Core\File\FileSystemInterface::MODIFY_PERMISSIONS. * Use \Drupal\Core\File\FileSystemInterface::MODIFY_PERMISSIONS.
*/ */
const FILE_MODIFY_PERMISSIONS = FileSystemInterface::MODIFY_PERMISSIONS; const FILE_MODIFY_PERMISSIONS = FileSystemInterface::MODIFY_PERMISSIONS;
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
/** /**
* Flag for dealing with existing files: Appends number until name is unique. * Flag for dealing with existing files: Appends number until name is unique.
* *
* @deprecated in Drupal 8.7.0, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.7.0 and is removed from drupal:9.0.0.
* Use \Drupal\Core\File\FileSystemInterface::EXISTS_RENAME. * Use \Drupal\Core\File\FileSystemInterface::EXISTS_RENAME.
*/ */
const FILE_EXISTS_RENAME = FileSystemInterface::EXISTS_RENAME; const FILE_EXISTS_RENAME = FileSystemInterface::EXISTS_RENAME;
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
/** /**
* Flag for dealing with existing files: Replace the existing file. * Flag for dealing with existing files: Replace the existing file.
* *
* @deprecated in Drupal 8.7.0, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.7.0 and is removed from drupal:9.0.0.
* Use \Drupal\Core\File\FileSystemInterface::EXISTS_REPLACE. * Use \Drupal\Core\File\FileSystemInterface::EXISTS_REPLACE.
*/ */
const FILE_EXISTS_REPLACE = FileSystemInterface::EXISTS_REPLACE; const FILE_EXISTS_REPLACE = FileSystemInterface::EXISTS_REPLACE;
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
/** /**
* Flag for dealing with existing files: Do nothing and return FALSE. * Flag for dealing with existing files: Do nothing and return FALSE.
* *
* @deprecated in Drupal 8.7.0, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.7.0 and is removed from drupal:9.0.0.
* Use \Drupal\Core\File\FileSystemInterface::EXISTS_ERROR. * Use \Drupal\Core\File\FileSystemInterface::EXISTS_ERROR.
*/ */
const FILE_EXISTS_ERROR = FileSystemInterface::EXISTS_ERROR; const FILE_EXISTS_ERROR = FileSystemInterface::EXISTS_ERROR;
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
/** /**
* Returns the scheme of a URI (e.g. a stream). * Returns the scheme of a URI (e.g. a stream).
* *
* @deprecated in drupal:8.8.0 and will be removed from drupal:9.0.0. Use * @deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use
* Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::getScheme() * Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::getScheme()
* instead. * instead.
* *
...@@ -110,7 +110,7 @@ function file_uri_scheme($uri) { ...@@ -110,7 +110,7 @@ function file_uri_scheme($uri) {
/** /**
* Checks that the scheme of a stream URI is valid. * Checks that the scheme of a stream URI is valid.
* *
* @deprecated in drupal:8.8.0 and will be removed from Drupal 9.0.0. Use * @deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use
* Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::isValidScheme() * Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::isValidScheme()
* instead. * instead.
* *
...@@ -132,7 +132,7 @@ function file_stream_wrapper_valid_scheme($scheme) { ...@@ -132,7 +132,7 @@ function file_stream_wrapper_valid_scheme($scheme) {
* For example, the URI "public://sample/test.txt" would return * For example, the URI "public://sample/test.txt" would return
* "sample/test.txt". * "sample/test.txt".
* *
* @deprecated in drupal:8.8.0 and will be removed from drupal:9.0.0. Use * @deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use
* \Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::getTarget() * \Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::getTarget()
* instead. * instead.
* *
...@@ -149,7 +149,7 @@ function file_uri_target($uri) { ...@@ -149,7 +149,7 @@ function file_uri_target($uri) {
* @return string * @return string
* 'public', 'private' or any other file scheme defined as the default. * 'public', 'private' or any other file scheme defined as the default.
* *
* @deprecated in drupal:8.8.0 and will be removed from drupal:9.0.0. Use * @deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use
* \Drupal::config('system.file')->get('default_scheme') instead. * \Drupal::config('system.file')->get('default_scheme') instead.
* *
* @see https://www.drupal.org/node/3049030 * @see https://www.drupal.org/node/3049030
...@@ -174,7 +174,7 @@ function file_default_scheme() { ...@@ -174,7 +174,7 @@ function file_default_scheme() {
* @return string * @return string
* The normalized URI. * The normalized URI.
* *
* @deprecated in drupal:8.8.0 and will be removed from drupal:9.0.0. Use * @deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use
* \Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::normalizeUri() * \Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::normalizeUri()
* instead. * instead.
* *
...@@ -314,7 +314,7 @@ function file_url_transform_relative($file_url) { ...@@ -314,7 +314,7 @@ function file_url_transform_relative($file_url) {
* TRUE if the directory exists (or was created) and is writable. FALSE * TRUE if the directory exists (or was created) and is writable. FALSE
* otherwise. * otherwise.
* *
* @deprecated in Drupal 8.7.0, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.7.0 and is removed from drupal:9.0.0.
* Use \Drupal\Core\File\FileSystemInterface::prepareDirectory(). * Use \Drupal\Core\File\FileSystemInterface::prepareDirectory().
*/ */
function file_prepare_directory(&$directory, $options = FileSystemInterface::MODIFY_PERMISSIONS) { function file_prepare_directory(&$directory, $options = FileSystemInterface::MODIFY_PERMISSIONS) {
...@@ -371,7 +371,7 @@ function file_save_htaccess($directory, $private = TRUE, $force_overwrite = FALS ...@@ -371,7 +371,7 @@ function file_save_htaccess($directory, $private = TRUE, $force_overwrite = FALS
* @return string * @return string
* The desired contents of the .htaccess file. * The desired contents of the .htaccess file.
* *
* @deprecated in Drupal 8.0.x-dev and will be removed before Drupal 9.0.0. * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
* Use \Drupal\Component\FileSecurity\FileSecurity::htaccessLines(). * Use \Drupal\Component\FileSecurity\FileSecurity::htaccessLines().
* *
* @see https://www.drupal.org/node/2418133 * @see https://www.drupal.org/node/2418133
...@@ -393,7 +393,7 @@ function file_htaccess_lines($private = TRUE) { ...@@ -393,7 +393,7 @@ function file_htaccess_lines($private = TRUE) {
* @return * @return
* TRUE if the URI is allowed. * TRUE if the URI is allowed.
* *
* @deprecated in drupal:8.8.0 and will be removed before drupal:9.0.0. Use * @deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use
* \Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::isValidUri() * \Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::isValidUri()
* instead. * instead.
* *
...@@ -435,7 +435,7 @@ function file_valid_uri($uri) { ...@@ -435,7 +435,7 @@ function file_valid_uri($uri) {
* @return * @return
* The path to the new file, or FALSE in the event of an error. * The path to the new file, or FALSE in the event of an error.
* *
* @deprecated in Drupal 8.7.0, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.7.0 and is removed from drupal:9.0.0.
* Use \Drupal\Core\File\FileSystemInterface::copy(). * Use \Drupal\Core\File\FileSystemInterface::copy().
* *
* @see file_copy() * @see file_copy()
...@@ -484,7 +484,7 @@ function file_unmanaged_copy($source, $destination = NULL, $replace = FILE_EXIST ...@@ -484,7 +484,7 @@ function file_unmanaged_copy($source, $destination = NULL, $replace = FILE_EXIST
* @return * @return
* TRUE, or FALSE in the event of an error. * TRUE, or FALSE in the event of an error.
* *
* @deprecated in Drupal 8.7.0, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.7.0 and is removed from drupal:9.0.0.
* Use \Drupal\Core\File\FileSystemInterface::getDestinationFilename() instead. * Use \Drupal\Core\File\FileSystemInterface::getDestinationFilename() instead.
* *
* @see file_unmanaged_copy() * @see file_unmanaged_copy()
...@@ -580,7 +580,7 @@ function file_build_uri($path) { ...@@ -580,7 +580,7 @@ function file_build_uri($path) {
* The destination filepath, or FALSE if the file already exists * The destination filepath, or FALSE if the file already exists
* and FILE_EXISTS_ERROR is specified. * and FILE_EXISTS_ERROR is specified.
* *
* @deprecated in Drupal 8.7.0, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.7.0 and is removed from drupal:9.0.0.
* Use \Drupal\Core\File\FileSystemInterface::getDestinationFilename(). * Use \Drupal\Core\File\FileSystemInterface::getDestinationFilename().
* *
* @see https://www.drupal.org/node/3006851 * @see https://www.drupal.org/node/3006851
...@@ -621,7 +621,7 @@ function file_destination($destination, $replace) { ...@@ -621,7 +621,7 @@ function file_destination($destination, $replace) {
* @return * @return
* The path to the new file, or FALSE in the event of an error. * The path to the new file, or FALSE in the event of an error.
* *
* @deprecated in Drupal 8.7.0, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.7.0 and is removed from drupal:9.0.0.
* Use \Drupal\Core\File\FileSystemInterface::move(). * Use \Drupal\Core\File\FileSystemInterface::move().
* *
* @see file_move() * @see file_move()
...@@ -740,7 +740,7 @@ function file_unmunge_filename($filename) { ...@@ -740,7 +740,7 @@ function file_unmunge_filename($filename) {
* File path consisting of $directory and a unique filename based off * File path consisting of $directory and a unique filename based off
* of $basename. * of $basename.
* *
* @deprecated in Drupal 8.7.0, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.7.0 and is removed from drupal:9.0.0.
* Use \Drupal\Core\File\FileSystemInterface::createFilename(). * Use \Drupal\Core\File\FileSystemInterface::createFilename().
* *
* @see https://www.drupal.org/node/3006851 * @see https://www.drupal.org/node/3006851
...@@ -760,7 +760,7 @@ function file_create_filename($basename, $directory) { ...@@ -760,7 +760,7 @@ function file_create_filename($basename, $directory) {
* @param $fid * @param $fid
* The file id. * The file id.
* *
* @deprecated in Drupal 8.7.0, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.7.0 and is removed from drupal:9.0.0.
* Use \Drupal\Core\Entity\EntityStorageInterface::delete() instead. * Use \Drupal\Core\Entity\EntityStorageInterface::delete() instead.
* *
* @see file_unmanaged_delete() * @see file_unmanaged_delete()
...@@ -783,7 +783,7 @@ function file_delete($fid) { ...@@ -783,7 +783,7 @@ function file_delete($fid) {
* @param $fids * @param $fids
* An array of file ids. * An array of file ids.
* *
* @deprecated in Drupal 8.7.0, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.7.0 and is removed from drupal:9.0.0.
* Use \Drupal\Core\Entity\EntityStorageInterface::delete() instead. * Use \Drupal\Core\Entity\EntityStorageInterface::delete() instead.
* *
* @see file_unmanaged_delete() * @see file_unmanaged_delete()
...@@ -811,7 +811,7 @@ function file_delete_multiple(array $fids) { ...@@ -811,7 +811,7 @@ function file_delete_multiple(array $fids) {
* TRUE for success or path does not exist, or FALSE in the event of an * TRUE for success or path does not exist, or FALSE in the event of an
* error. * error.
* *
* @deprecated in Drupal 8.7.0, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.7.0 and is removed from drupal:9.0.0.
* Use \Drupal\Core\File\FileSystemInterface::delete(). * Use \Drupal\Core\File\FileSystemInterface::delete().
* *
* @see file_delete() * @see file_delete()
...@@ -851,7 +851,7 @@ function file_unmanaged_delete($path) { ...@@ -851,7 +851,7 @@ function file_unmanaged_delete($path) {
* TRUE for success or if path does not exist, FALSE in the event of an * TRUE for success or if path does not exist, FALSE in the event of an
* error. * error.
* *
* @deprecated in Drupal 8.7.0, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.7.0 and is removed from drupal:9.0.0.
* Use \Drupal\Core\File\FileSystemInterface::deleteRecursive(). * Use \Drupal\Core\File\FileSystemInterface::deleteRecursive().
* *
* @see file_unmanaged_delete() * @see file_unmanaged_delete()
...@@ -871,7 +871,7 @@ function file_unmanaged_delete_recursive($path, $callback = NULL) { ...@@ -871,7 +871,7 @@ function file_unmanaged_delete_recursive($path, $callback = NULL) {
/** /**
* Moves an uploaded file to a new location. * Moves an uploaded file to a new location.
* *
* @deprecated in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
* Use \Drupal\Core\File\FileSystem::moveUploadedFile(). * Use \Drupal\Core\File\FileSystem::moveUploadedFile().
* *
* @see https://www.drupal.org/node/2418133 * @see https://www.drupal.org/node/2418133
...@@ -905,7 +905,7 @@ function drupal_move_uploaded_file($filename, $uri) { ...@@ -905,7 +905,7 @@ function drupal_move_uploaded_file($filename, $uri) {
* @return * @return
* A string with the path of the resulting file, or FALSE on error. * A string with the path of the resulting file, or FALSE on error.
* *
* @deprecated in Drupal 8.7.0, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.7.0 and is removed from drupal:9.0.0.
* Use \Drupal\Core\File\FileSystemInterface::saveData(). * Use \Drupal\Core\File\FileSystemInterface::saveData().
* *
* @see file_save_data() * @see file_save_data()
...@@ -992,7 +992,7 @@ function file_scan_directory($dir, $mask, $options = [], $depth = 0) { ...@@ -992,7 +992,7 @@ function file_scan_directory($dir, $mask, $options = [], $depth = 0) {
* A file size limit in bytes based on the PHP upload_max_filesize and * A file size limit in bytes based on the PHP upload_max_filesize and
* post_max_size * post_max_size
* *
* @deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. * @deprecated in drupal:8.7.0 and is removed from drupal:9.0.0.
* Use \Drupal\Component\Utility\Environment::getUploadMaxSize() instead. * Use \Drupal\Component\Utility\Environment::getUploadMaxSize() instead.
*/ */
function file_upload_max_size() { function file_upload_max_size() {
...@@ -1003,7 +1003,7 @@ function file_upload_max_size() { ...@@ -1003,7 +1003,7 @@ function file_upload_max_size() {
/** /**
* Sets the permissions on a file or directory. * Sets the permissions on a file or directory.
* *
* @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
* Use \Drupal\Core\File\FileSystem::chmod(). * Use \Drupal\Core\File\FileSystem::chmod().
* *
* @see https://www.drupal.org/node/2418133 * @see https://www.drupal.org/node/2418133
...@@ -1016,7 +1016,7 @@ function drupal_chmod($uri, $mode = NULL) { ...@@ -1016,7 +1016,7 @@ function drupal_chmod($uri, $mode = NULL) {
/** /**
* Deletes a file. * Deletes a file.
* *
* @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
* Use \Drupal\Core\File\FileSystem::unlink(). * Use \Drupal\Core\File\FileSystem::unlink().
* *
* @see \Drupal\Core\File\FileSystem::unlink() * @see \Drupal\Core\File\FileSystem::unlink()
...@@ -1030,7 +1030,7 @@ function drupal_unlink($uri, $context = NULL) { ...@@ -1030,7 +1030,7 @@ function drupal_unlink($uri, $context = NULL) {
/** /**
* Resolves the absolute filepath of a local URI or filepath. * Resolves the absolute filepath of a local URI or filepath.
* *
* @deprecated in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
* Use \Drupal\Core\File\FileSystem::realpath(). * Use \Drupal\Core\File\FileSystem::realpath().
* *
* @see https://www.drupal.org/node/2418133 * @see https://www.drupal.org/node/2418133
...@@ -1043,7 +1043,7 @@ function drupal_realpath($uri) { ...@@ -1043,7 +1043,7 @@ function drupal_realpath($uri) {
/** /**
* Gets the name of the directory from a given path. * Gets the name of the directory from a given path.
* *
* @deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
* Use \Drupal\Core\File\FileSystem::dirname(). * Use \Drupal\Core\File\FileSystem::dirname().
* *
* @see https://www.drupal.org/node/2418133 * @see https://www.drupal.org/node/2418133
...@@ -1056,7 +1056,7 @@ function drupal_dirname($uri) { ...@@ -1056,7 +1056,7 @@ function drupal_dirname($uri) {
/** /**
* Gets the filename from a given path. * Gets the filename from a given path.
* *
* @deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
* Use \Drupal\Core\File\FileSystem::basename(). * Use \Drupal\Core\File\FileSystem::basename().
* *
* @see https://www.drupal.org/node/2418133 * @see https://www.drupal.org/node/2418133
...@@ -1070,7 +1070,7 @@ function drupal_basename($uri, $suffix = NULL) { ...@@ -1070,7 +1070,7 @@ function drupal_basename($uri, $suffix = NULL) {
* Creates a directory, optionally creating missing components in the path to * Creates a directory, optionally creating missing components in the path to
* the directory. * the directory.
* *
* @deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
* Use \Drupal\Core\File\FileSystem::mkdir(). * Use \Drupal\Core\File\FileSystem::mkdir().
* *
* @see https://www.drupal.org/node/2418133 * @see https://www.drupal.org/node/2418133
...@@ -1083,7 +1083,7 @@ function drupal_mkdir($uri, $mode = NULL, $recursive = FALSE, $context = NULL) { ...@@ -1083,7 +1083,7 @@ function drupal_mkdir($uri, $mode = NULL, $recursive = FALSE, $context = NULL) {
/** /**
* Removes a directory. * Removes a directory.
* *
* @deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
* Use \Drupal\Core\File\FileSystem::rmdir(). * Use \Drupal\Core\File\FileSystem::rmdir().
* *
* @see https://www.drupal.org/node/2418133 * @see https://www.drupal.org/node/2418133
...@@ -1096,7 +1096,7 @@ function drupal_rmdir($uri, $context = NULL) { ...@@ -1096,7 +1096,7 @@ function drupal_rmdir($uri, $context = NULL) {
/** /**
* Creates a file with a unique filename in the specified directory. * Creates a file with a unique filename in the specified directory.
* *
* @deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
* Use \Drupal\Core\File\FileSystem::tempnam(). * Use \Drupal\Core\File\FileSystem::tempnam().
* *
* @see https://www.drupal.org/node/2418133 * @see https://www.drupal.org/node/2418133
...@@ -1129,7 +1129,7 @@ function file_directory_temp() { ...@@ -1129,7 +1129,7 @@ function file_directory_temp() {
* @return mixed * @return mixed
* A string containing the path to the temporary directory. * A string containing the path to the temporary directory.
* *
* @deprecated in Drupal 8.3.x-dev, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.3.0 and is removed from drupal:9.0.0.
* Use \Drupal\Component\FileSystem\FileSystem::getOsTemporaryDirectory(). * Use \Drupal\Component\FileSystem\FileSystem::getOsTemporaryDirectory().
* *
* @see https://www.drupal.org/node/2418133 * @see https://www.drupal.org/node/2418133
......
...@@ -2288,7 +2288,7 @@ function install_display_requirements($install_state, $requirements) { ...@@ -2288,7 +2288,7 @@ function install_display_requirements($install_state, $requirements) {
* *
* @see _install_select_profile() * @see _install_select_profile()
* *
* @deprecated in Drupal 8.3.0 and will be removed before Drupal 9.0.0. The * @deprecated in drupal:8.3.0 and is removed from drupal:9.0.0. The
* install profile is written to core.extension. * install profile is written to core.extension.
*/ */
function install_write_profile($install_state) { function install_write_profile($install_state) {
......
...@@ -541,7 +541,7 @@ function drupal_install_config_directories() { ...@@ -541,7 +541,7 @@ function drupal_install_config_directories() {
* @return bool * @return bool
* TRUE if the config directory exists and is writable. * TRUE if the config directory exists and is writable.
* *
* @deprecated in Drupal 8.1.x, will be removed before Drupal 9.0.x. Use * @deprecated in drupal:8.1.0 and is removed from drupal:9.0.0. Use
* config_get_config_directory() and * config_get_config_directory() and
* \Drupal\Core\File\FileSystemInterface::prepareDirectory() instead. * \Drupal\Core\File\FileSystemInterface::prepareDirectory() instead.
* *
......
...@@ -106,7 +106,7 @@ function menu_list_system_menus() { ...@@ -106,7 +106,7 @@ function menu_list_system_menus() {
* @see hook_menu_local_tasks_alter() * @see hook_menu_local_tasks_alter()
* @see https://www.drupal.org/node/2544940 * @see https://www.drupal.org/node/2544940
* *
* @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
*/ */
function menu_local_tasks($level = 0) { function menu_local_tasks($level = 0) {
/** @var \Drupal\Core\Menu\LocalTaskManagerInterface $manager */ /** @var \Drupal\Core\Menu\LocalTaskManagerInterface $manager */
...@@ -172,7 +172,7 @@ function menu_local_tabs() { ...@@ -172,7 +172,7 @@ function menu_local_tabs() {
* This should be called any time broad changes * This should be called any time broad changes
* might have been made to the router items or menu links. * might have been made to the router items or menu links.
* *
* @deprecated in Drupal 8.6.0, will be removed before Drupal 9.0.0. Use * @deprecated in drupal:8.6.0 and is removed from drupal:9.0.0. Use
* \Drupal::cache('menu')->invalidateAll() instead. * \Drupal::cache('menu')->invalidateAll() instead.
* *
* @see https://www.drupal.org/node/2989138 * @see https://www.drupal.org/node/2989138
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
* For $type 'theme', the array values are objects representing the * For $type 'theme', the array values are objects representing the
* respective database row, with the 'info' property already unserialized. * respective database row, with the 'info' property already unserialized.
* *
* @deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Use * @deprecated in drupal:8.7.0 and is removed from drupal:9.0.0. Use
* \Drupal::service('theme_handler')->listInfo() instead. * \Drupal::service('theme_handler')->listInfo() instead.
* *
* @see https://www.drupal.org/node/2709919 * @see https://www.drupal.org/node/2709919
...@@ -45,7 +45,7 @@ function system_list($type) { ...@@ -45,7 +45,7 @@ function system_list($type) {
/** /**
* Resets all system_list() caches. * Resets all system_list() caches.
* *
* @deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. There * @deprecated in drupal:8.7.0 and is removed from drupal:9.0.0. There
* is no direct replacement. Call each * is no direct replacement. Call each
* \Drupal::service('extension.list.TYPE')->reset() as necessary. * \Drupal::service('extension.list.TYPE')->reset() as necessary.
* *
...@@ -70,7 +70,7 @@ function system_list_reset() { ...@@ -70,7 +70,7 @@ function system_list_reset() {
* The relative URI of the primary extension file; e.g., * The relative URI of the primary extension file; e.g.,
* 'core/modules/node/node.module'. * 'core/modules/node/node.module'.
* *
* @deprecated in Drupal 8.8.0 and will be removed before Drupal 9.0.0. There is * @deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. There is
* no replacement for this function. Use the following sequence of code to * no replacement for this function. Use the following sequence of code to
* achieve the same functionality: * achieve the same functionality:
* @code * @code
......
...@@ -218,7 +218,7 @@ function _drupal_schema_initialize(&$schema, $module, $remove_descriptions = TRU ...@@ -218,7 +218,7 @@ function _drupal_schema_initialize(&$schema, $module, $remove_descriptions = TRU
* @return mixed * @return mixed
* The converted value. * The converted value.
* *
* @deprecated in drupal:8.8.0 and will be removed from drupal:9.0.0. Use * @deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use
* \Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema::castValue() instead. * \Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema::castValue() instead.
* *
* @see https://www.drupal.org/node/3051983 * @see https://www.drupal.org/node/3051983
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
/** /**
* Initializes the table sort context. * Initializes the table sort context.
* *
* @deprecated as of Drupal 8.7.x and will be removed before Drupal 9.0.0. Use * @deprecated in drupal:8.7.0 and is removed from drupal:9.0.0. Use
* \Drupal\Core\Utility\TableSort::getContextFromRequest() instead. * \Drupal\Core\Utility\TableSort::getContextFromRequest() instead.
* *
* @see \Drupal\Core\Utility\TableSortInterface::getContextFromRequest() * @see \Drupal\Core\Utility\TableSortInterface::getContextFromRequest()
...@@ -40,7 +40,7 @@ function tablesort_init($header) { ...@@ -40,7 +40,7 @@ function tablesort_init($header) {
* @param array $ts * @param array $ts
* The current table sort context as returned from tablesort_init(). * The current table sort context as returned from tablesort_init().
* *
* @deprecated as of Drupal 8.7.x and will be removed before Drupal 9.0.0. Use * @deprecated in drupal:8.7.0 and is removed from drupal:9.0.0. Use
* \Drupal\Core\Utility\TableSort::header() instead. * \Drupal\Core\Utility\TableSort::header() instead.
* *
* @see \Drupal\Core\Utility\TableSortInterface::header() * @see \Drupal\Core\Utility\TableSortInterface::header()
...@@ -58,7 +58,7 @@ function tablesort_header(&$cell_content, array &$cell_attributes, array $header ...@@ -58,7 +58,7 @@ function tablesort_header(&$cell_content, array &$cell_attributes, array $header
* A URL query parameter array that consists of all components of the current * A URL query parameter array that consists of all components of the current
* page request except for those pertaining to table sorting. * page request except for those pertaining to table sorting.
* *
* @deprecated as of Drupal 8.7.x and will be removed before Drupal 9.0.0. Use * @deprecated in drupal:8.7.0 and is removed from drupal:9.0.0. Use
* \Drupal\Core\Utility\TableSort::getQueryParameters() instead. * \Drupal\Core\Utility\TableSort::getQueryParameters() instead.
* *
* @see \Drupal\Core\Utility\TableSort::getQueryParameters() * @see \Drupal\Core\Utility\TableSort::getQueryParameters()
...@@ -80,7 +80,7 @@ function tablesort_get_query_parameters() { ...@@ -80,7 +80,7 @@ function tablesort_get_query_parameters() {
* - "name": The localized title of the table column. * - "name": The localized title of the table column.
* - "sql": The name of the database field to sort on. * - "sql": The name of the database field to sort on.
* *
* @deprecated as of Drupal 8.7.x and will be removed before Drupal 9.0.0. Use * @deprecated in drupal:8.7.0 and is removed from drupal:9.0.0. Use
* \Drupal\Core\Utility\TableSort::getOrder() instead. * \Drupal\Core\Utility\TableSort::getOrder() instead.
* *
* @see \Drupal\Core\Utility\TableSortInterface::getOrder() * @see \Drupal\Core\Utility\TableSortInterface::getOrder()
...@@ -100,7 +100,7 @@ function tablesort_get_order($headers) { ...@@ -100,7 +100,7 @@ function tablesort_get_order($headers) {
* @return * @return
* The current sort direction ("asc" or "desc"). * The current sort direction ("asc" or "desc").
* *
* @deprecated as of Drupal 8.7.x and will be removed before Drupal 9.0.0. Use * @deprecated in drupal:8.7.0 and is removed from drupal:9.0.0. Use
* \Drupal\Core\Utility\TableSort::getSort() instead. * \Drupal\Core\Utility\TableSort::getSort() instead.
* *
* @see \Drupal\Core\Utility\TableSortInterface::getSort() * @see \Drupal\Core\Utility\TableSortInterface::getSort()
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
/** /**
* Moves unicode_requirements() logic to system_requirements(). * Moves unicode_requirements() logic to system_requirements().
* *
* @deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. * @deprecated in drupal:8.4.0 and is removed from drupal:9.0.0.
* *
* @see https://www.drupal.org/node/2884698 * @see https://www.drupal.org/node/2884698
*/ */
...@@ -85,7 +85,7 @@ function unicode_requirements() { ...@@ -85,7 +85,7 @@ function unicode_requirements() {
* *
* @ingroup php_wrappers * @ingroup php_wrappers
* *
* @deprecated in Drupal 8.3.0 and will bre removed in Drupal 9.0.0. Use * @deprecated in drupal:8.3.0 and is removed from drupal:9.0.0. Use
* xml_parser_create() and * xml_parser_create() and
* xml_parser_set_option($xml_parser, XML_OPTION_TARGET_ENCODING, 'utf-8') * xml_parser_set_option($xml_parser, XML_OPTION_TARGET_ENCODING, 'utf-8')
* instead. * instead.
......
...@@ -263,7 +263,7 @@ public static function currentUser() { ...@@ -263,7 +263,7 @@ public static function currentUser() {
* @return \Drupal\Core\Entity\EntityManagerInterface * @return \Drupal\Core\Entity\EntityManagerInterface
* The entity manager service. * The entity manager service.
* *
* @deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0. * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
* Use \Drupal::entityTypeManager() instead in most cases. If the needed * Use \Drupal::entityTypeManager() instead in most cases. If the needed
* method is not on \Drupal\Core\Entity\EntityTypeManagerInterface, see the * method is not on \Drupal\Core\Entity\EntityTypeManagerInterface, see the
* deprecated \Drupal\Core\Entity\EntityManager to find the * deprecated \Drupal\Core\Entity\EntityManager to find the
...@@ -573,7 +573,7 @@ public static function urlGenerator() { ...@@ -573,7 +573,7 @@ public static function urlGenerator() {
* @see \Drupal\Core\Url::fromRoute() * @see \Drupal\Core\Url::fromRoute()
* @see \Drupal\Core\Url::fromUri() * @see \Drupal\Core\Url::fromUri()
* *
* @deprecated as of Drupal 8.0.x, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
* Instead create a \Drupal\Core\Url object directly, for example using * Instead create a \Drupal\Core\Url object directly, for example using
* Url::fromRoute(). * Url::fromRoute().
*/ */
......
...@@ -26,7 +26,7 @@ abstract class ContextAwarePluginBase extends PluginBase implements ContextAware ...@@ -26,7 +26,7 @@ abstract class ContextAwarePluginBase extends PluginBase implements ContextAware
* @var \Drupal\Component\Plugin\Context\ContextInterface[] * @var \Drupal\Component\Plugin\Context\ContextInterface[]
* *
* @deprecated * @deprecated
* Deprecated in Drupal 8.8.0 and will be removed before Drupal 9.0.0. Use * in drupal:8.8.0 and is removed from drupal:9.0.0. Use
* \Drupal\Component\Plugin\ContextAwarePluginInterface instead. * \Drupal\Component\Plugin\ContextAwarePluginInterface instead.
* *
* @see https://www.drupal.org/project/drupal/issues/3080631 * @see https://www.drupal.org/project/drupal/issues/3080631
......
...@@ -28,7 +28,7 @@ class Crypt { ...@@ -28,7 +28,7 @@ class Crypt {
* @return string * @return string
* A randomly generated string. * A randomly generated string.
* *
* @deprecated in Drupal 8.8.0 and will be removed before Drupal 9.0.0. * @deprecated in drupal:8.8.0 and is removed from drupal:9.0.0.
* Use PHP's built-in random_bytes() function instead. * Use PHP's built-in random_bytes() function instead.
* *
* @see https://www.drupal.org/node/3054488 * @see https://www.drupal.org/node/3054488
......
...@@ -33,7 +33,7 @@ class SafeMarkup { ...@@ -33,7 +33,7 @@ class SafeMarkup {
* @return bool * @return bool
* TRUE if the string has been marked secure, FALSE otherwise. * TRUE if the string has been marked secure, FALSE otherwise.
* *
* @deprecated in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
* Instead, you should just check if a variable is an instance of * Instead, you should just check if a variable is an instance of
* \Drupal\Component\Render\MarkupInterface. * \Drupal\Component\Render\MarkupInterface.
* *
...@@ -89,7 +89,7 @@ public static function checkPlain($text) { ...@@ -89,7 +89,7 @@ public static function checkPlain($text) {
* @see \Drupal\Component\Render\FormattableMarkup::placeholderFormat() * @see \Drupal\Component\Render\FormattableMarkup::placeholderFormat()
* @see \Drupal\Component\Render\FormattableMarkup * @see \Drupal\Component\Render\FormattableMarkup
* *
* @deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0.
* Use \Drupal\Component\Render\FormattableMarkup. * Use \Drupal\Component\Render\FormattableMarkup.
* *
* @see https://www.drupal.org/node/2549395 * @see https://www.drupal.org/node/2549395
......
...@@ -123,7 +123,7 @@ public static function getStatus() { ...@@ -123,7 +123,7 @@ public static function getStatus() {
* @param int $status * @param int $status
* The new status of multibyte support. * The new status of multibyte support.
* *
* @deprecated in Drupal 8.6.0 and will be removed before Drupal 9.0.0. In * @deprecated in drupal:8.6.0 and is removed from drupal:9.0.0. In
* Drupal 9 there will be no way to set the status and in Drupal 8 this * Drupal 9 there will be no way to set the status and in Drupal 8 this
* ability has been removed because mb_*() functions are supplied using * ability has been removed because mb_*() functions are supplied using
* Symfony's polyfill. * Symfony's polyfill.
...@@ -260,7 +260,7 @@ public static function truncateBytes($string, $len) { ...@@ -260,7 +260,7 @@ public static function truncateBytes($string, $len) {
* @return int * @return int
* The length of the string. * The length of the string.
* *
* @deprecated in Drupal 8.6.0, will be removed before Drupal 9.0.0. Use * @deprecated in drupal:8.6.0 and is removed from drupal:9.0.0. Use
* mb_strlen() instead. * mb_strlen() instead.
* *
* @see https://www.drupal.org/node/2850048 * @see https://www.drupal.org/node/2850048
...@@ -279,7 +279,7 @@ public static function strlen($text) { ...@@ -279,7 +279,7 @@ public static function strlen($text) {
* @return string * @return string
* The string in uppercase. * The string in uppercase.
* *
* @deprecated in Drupal 8.6.0, will be removed before Drupal 9.0.0. Use * @deprecated in drupal:8.6.0 and is removed from drupal:9.0.0. Use
* mb_strtoupper() instead. * mb_strtoupper() instead.
* *
* @see https://www.drupal.org/node/2850048 * @see https://www.drupal.org/node/2850048
...@@ -298,7 +298,7 @@ public static function strtoupper($text) { ...@@ -298,7 +298,7 @@ public static function strtoupper($text) {
* @return string * @return string
* The string in lowercase. * The string in lowercase.
* *
* @deprecated in Drupal 8.6.0, will be removed before Drupal 9.0.0. Use * @deprecated in drupal:8.6.0 and is removed from drupal:9.0.0. Use
* mb_strtolower() instead. * mb_strtolower() instead.
* *
* @see https://www.drupal.org/node/2850048 * @see https://www.drupal.org/node/2850048
...@@ -372,7 +372,7 @@ public static function ucwords($text) { ...@@ -372,7 +372,7 @@ public static function ucwords($text) {
* @return string * @return string
* The shortened string. * The shortened string.
* *
* @deprecated in Drupal 8.6.0, will be removed before Drupal 9.0.0. Use * @deprecated in drupal:8.6.0 and is removed from drupal:9.0.0. Use
* mb_substr() instead. * mb_substr() instead.
* *
* @see https://www.drupal.org/node/2850048 * @see https://www.drupal.org/node/2850048
...@@ -557,7 +557,7 @@ public static function mimeHeaderDecode($header) { ...@@ -557,7 +557,7 @@ public static function mimeHeaderDecode($header) {
* @return string * @return string
* The flipped text. * The flipped text.
* *
* @deprecated in Drupal 8.8.0, will be removed before Drupal 9.0.0. There is * @deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. There is
* no direct replacement. * no direct replacement.
* *
* @see https://www.drupal.org/node/3057322 * @see https://www.drupal.org/node/3057322
...@@ -617,7 +617,7 @@ public static function validateUtf8($text) { ...@@ -617,7 +617,7 @@ public static function validateUtf8($text) {
* beginning (independent of $offset), or FALSE if not found. Note that * beginning (independent of $offset), or FALSE if not found. Note that
* a return value of 0 is not the same as FALSE. * a return value of 0 is not the same as FALSE.
* *
* @deprecated in Drupal 8.6.0, will be removed before Drupal 9.0.0. Use * @deprecated in drupal:8.6.0 and is removed from drupal:9.0.0. Use
* mb_strpos() instead. * mb_strpos() instead.
* *
* @see https://www.drupal.org/node/2850048 * @see https://www.drupal.org/node/2850048
......
...@@ -61,7 +61,7 @@ public function __toString() { ...@@ -61,7 +61,7 @@ public function __toString() {
* @return array[] * @return array[]
* The constraint represented as an array. * The constraint represented as an array.
* *
* @deprecated in Drupal 8.7.0, will be removed before Drupal 9.0.0. * @deprecated in drupal:8.7.0 and is removed from drupal:9.0.0.
* Only exists to provide a backwards compatibility layer. * Only exists to provide a backwards compatibility layer.
* *
* @see https://www.drupal.org/node/2756875 * @see https://www.drupal.org/node/2756875
......
...@@ -286,7 +286,7 @@ public function cachePerUser() { ...@@ -286,7 +286,7 @@ public function cachePerUser() {
* *
* @return $this * @return $this
* *
* @deprecated in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use
* ::addCacheableDependency() instead. * ::addCacheableDependency() instead.
*/ */
public function cacheUntilEntityChanges(EntityInterface $entity) { public function cacheUntilEntityChanges(EntityInterface $entity) {
...@@ -301,7 +301,7 @@ public function cacheUntilEntityChanges(EntityInterface $entity) { ...@@ -301,7 +301,7 @@ public function cacheUntilEntityChanges(EntityInterface $entity) {
* *
* @return $this * @return $this
* *
* @deprecated in drupal:8.0.0 and is removed in drupal:9.0.0. Use * @deprecated in drupal:8.0.0 and is removed from drupal:9.0.0. Use
* \Drupal\Core\Access\AccessResult::addCacheableDependency() instead. * \Drupal\Core\Access\AccessResult::addCacheableDependency() instead.
*/ */
public function cacheUntilConfigurationChanges(ConfigBase $configuration) { public function cacheUntilConfigurationChanges(ConfigBase $configuration) {
......
...@@ -410,7 +410,7 @@ protected function drupalGetPath($type, $name) { ...@@ -410,7 +410,7 @@ protected function drupalGetPath($type, $name) {
/** /**
* Wraps \Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::isValidUri(). * Wraps \Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::isValidUri().
* *
* @deprecated in drupal:8.8.0 and will be removed before drupal:9.0.0. Use * @deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use
* \Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::isValidUri() * \Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::isValidUri()
* instead. * instead.
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment