Results

30.06.2019
accordion_menus 8.x-3.0 :: src/Plugin/Block/AccordionMenusBlock.php
66
67
68
69
70
71
72
73
  $this->menuTree = $menu_tree;
  if ($menu_active_trail === NULL) {
    @trigger_error('The menu.active_trail service must be passed to SystemMenuBlock::__construct(), it is required before Drupal 9.0.0. See https://www.drupal.org/node/2669550.', E_USER_DEPRECATED);
    $menu_active_trail = \Drupal::service('menu.active_trail');
  }
  $this->menuActiveTrail = $menu_active_trail;
  $this->configFactory = $config_factory;
}
19.05.2022
acquia_dam 1.0.0-rc1 :: src/Client/AcquiaDamClient.php
215
216
217
218
219
220
221
222
223
*/
public function getAssetVersionList(string $id): array {
  @trigger_error('AcquiaDamClient::getAssetVersionList() is deprecated in acquia_dam:1.0.14 and is removed from acquia_dam:1.2.0. The getAssetVersionList method of V1 API will be removed, we recommend using the getAssetLatestVersion method instead with V2 API. See https://www.drupal.org/project/acquia_dam/issues/3462318', E_USER_DEPRECATED);
  try {
    $domain = $this->acquiaDamConfig->get('domain');
    $response = $this->get("https://$domain/api/rest/asset/uuid/$id/assetversions");
    $data = (string) $response->getBody();
  }
  catch (\Exception $e) {
12.04.2024
action 1.x-dev :: src/ActionListBuilder.php
54
55
56
57
58
59
60
61
62
  $this->actionManager = $action_manager;
  if (!$formBuilder) {
    @trigger_error('Calling ' . __METHOD__ . ' without the $formBuilder argument is deprecated in drupal:10.3.0 and it will be required in drupal:11.0.0. See https://www.drupal.org/node/3159776', E_USER_DEPRECATED);
    $this->formBuilder = \Drupal::service('form_builder');
  }
}
 
/**
 * {@inheritdoc}
08.07.2020
addtocalendar 8.x-3.x-dev :: src/Plugin/Field/FieldFormatter/AddToCalendar.php
106
107
108
109
110
111
112
113
114
$this->token = $token;
if (is_null($renderer)) {
  @trigger_error('Calling AddToCalendar::_construct() without the $renderer argument is deprecated and the argument will be required in a future release.', E_USER_DEPRECATED);
  $this->renderer = \Drupal::service('renderer');
}
else {
  $this->renderer = $renderer;
}
if (is_null($module_handler)) {
114
115
116
117
118
119
120
121
  if (is_null($module_handler)) {
    @trigger_error('Calling AddToCalendar::_construct() without the $module_handler argument is deprecated and the argument will be required in a future release.', E_USER_DEPRECATED);
    $this->moduleHandler = \Drupal::service('module_handler');
  }
  else {
    $this->moduleHandler = $module_handler;
  }
}
08.07.2020
addtocalendar 8.x-3.x-dev :: src/AddToCalendarApiWidget.php
156
157
158
159
160
161
162
163
  if (is_null($renderer)) {
    @trigger_error('Calling AddToCalendarApiWidget::_construct() without the $renderer argument is deprecated and the argument will be required in a future release.', E_USER_DEPRECATED);
    $this->renderer = \Drupal::service('renderer');
  }
  else {
    $this->renderer = $renderer;
  }
}
28.02.2020
advancedqueue 8.x-1.x-dev :: src/Processor.php
67
68
69
70
71
72
73
74
75
public function __construct(EventDispatcherInterface $event_dispatcher, TimeInterface $time, JobTypeManager $job_type_manager, ?LoggerInterface $logger = NULL) {
  if ($logger === NULL) {
    @trigger_error('Calling Processor::__construct() without the $logger argument is deprecated in advancedqueue:8.x-1.0 and will be required before advancedqueue:8.x-2.0. See https://www.drupal.org/project/advancedqueue/issues/3192113', E_USER_DEPRECATED);
    $logger = \Drupal::service('logger.channel.cron');
  }
  $this->eventDispatcher = $event_dispatcher;
  $this->time = $time;
  $this->jobTypeManager = $job_type_manager;
  $this->logger = $logger;
11.04.2022
aggregator 2.x-dev :: src/Entity/Feed.php
81
82
83
84
85
86
87
88
89
90
91
92
93
public function __set($name, $value) {
  if ($name == 'items') {
    @trigger_error('The $items property is deprecated in 2.1.0 and will be removed from 3.0.0. See https://www.drupal.org/node/3386012.', E_USER_DEPRECATED);
    $this->items = $value;
    return;
  }
  if ($name == 'source_string') {
    @trigger_error('The $source_string property is deprecated in 2.1.0 and will be removed from 3.0.0. See https://www.drupal.org/node/3386012.', E_USER_DEPRECATED);
    $this->source_string = $value;
    return;
  }
  parent::__set($name, $value);
}
98
99
100
101
102
103
104
105
106
107
108
109
110
public function &__get($name) {
  if ($name == 'items') {
    @trigger_error('The $items property is deprecated in 2.1.0 and will be removed from 3.0.0. See https://www.drupal.org/node/3386012.', E_USER_DEPRECATED);
    return $this->items;
  }
  if ($name == 'source_string') {
    @trigger_error('The $source_string property is deprecated in 2.1.0 and will be removed from 3.0.0. See https://www.drupal.org/node/3386012.', E_USER_DEPRECATED);
    return $this->source_string;
  }
  return parent::__get($name);
}
 
/**
367
368
369
370
371
372
373
374
375
*/
public function getHash() {
  @trigger_error('Feed::getHash() is deprecated in aggregator:2.1.0 and is removed from aggregator:3.0.0. Use \Drupal::service("aggregator.items.importer")->getHash($feed); instead. See https://www.drupal.org/node/3386907.', E_USER_DEPRECATED);
  return \Drupal::service('aggregator.items.importer')->getHash($this);
}
 
/**
 * {@inheritdoc}
 */
453
454
455
456
457
458
459
460
461
*/
public function setHash($hash) {
  @trigger_error('Feed::setHash() is deprecated in aggregator:2.1.0 and is removed from aggregator:3.0.0. Use \Drupal::service("aggregator.items.importer")->setHash($feed, $hash); instead. See https://www.drupal.org/node/3386907.', E_USER_DEPRECATED);
  \Drupal::service('aggregator.items.importer')->setHash($this, $hash);
  return $this;
}
 
/**
 * {@inheritdoc}
11.04.2022
aggregator 2.x-dev :: src/Entity/Item.php
261
262
263
264
265
266
267
   */
  public static function buildUri(ItemInterface $item) {
    @trigger_error('Item::buildUri() is deprecated in aggregator:2.2.0 and is removed from aggregator:3.0.0. Use Item::buildItemUri() instead. See https://www.drupal.org/node/3386907.', E_USER_DEPRECATED);
    return $item->buildItemUri();
  }
 
}
11.03.2021
amazon_ses 2.0.x-dev :: src/Traits/HandlerTrait.php
54
55
56
57
58
59
   */
  protected function setDeprecationMessage() {
    @trigger_error('\Drupal\amazon_ses\Traits\HandlerTrait is deprecated in amazon_ses:3.1.0 and will be removed in amazon_ses:4.0.0. See https://www.drupal.org/project/amazon_ses/issues/3466096', E_USER_DEPRECATED);
  }
 
}
11.03.2021
amazon_ses 2.0.x-dev :: src/Traits/MessageBuilderTrait.php
26
27
28
29
30
31
32
33
34
   */
  protected function setMessageBuilder(MessageBuilderInterface $message_builder) {
    @trigger_error('\Drupal\amazon_ses\Traits\MessageBuilderTrait is deprecated in amazon_ses:3.1.0 and will be removed in amazon_ses:4.0.0. See https://www.drupal.org/project/amazon_ses/issues/3466096', E_USER_DEPRECATED);
 
    $this->messageBuilder = $message_builder;
    return $this;
  }
 
}
02.10.2020
apigee_edge 8.x-1.17 :: modules/apigee_edge_teams/src/Controller/TeamMembersList.php
102
103
104
105
106
107
108
109
public function __construct(TeamMembershipManagerInterface $team_membership_manager, EntityTypeManagerInterface $entity_type_manager, ModuleHandlerInterface $module_handler, CompanyMembershipObjectCacheInterface $company_membership_object_cache, AppGroupMembershipObjectCacheInterface $appgroup_membership_object_cache, OrganizationControllerInterface $org_controller) {
  if (!$module_handler) {
    @trigger_error('Calling ' . __METHOD__ . ' without the $module_handler is deprecated in apigee_edge:8-x-1.19 and is required before apigee_edge:8.x-2.0. See https://github.com/apigee/apigee-edge-drupal/pull/518.', E_USER_DEPRECATED);
    $module_handler = \Drupal::moduleHandler();
  }
 
  $this->teamMembershipManager = $team_membership_manager;
  $this->entityTypeManager = $entity_type_manager;
25.08.2020
arch 8.x-1.x-dev :: modules/order/includes/deprecated.inc
35
36
37
38
39
40
41
42
43
*/
function order_access_grants($op, AccountInterface $account) {
  @trigger_error(__FUNCTION__ . ' is deprecated in 1.0.0-alpha20 and is removed from 1.0.0. Use arch_order_access_grants', E_USER_DEPRECATED);
  return arch_order_access_grants($op, $account);
}
 
/**
 * Checks if the current page is the full page view of the passed-in order.
 *
53
54
55
56
57
*/
function order_is_page(OrderInterface $order) {
  @trigger_error(__FUNCTION__ . ' is deprecated in 1.0.0-alpha20 and is removed from 1.0.0. Use arch_order_is_page', E_USER_DEPRECATED);
  return arch_order_is_page($order);
}
25.08.2020
arch 8.x-1.x-dev :: modules/product/inc/deprecated.inc
23
24
25
26
27
28
29
30
31
*/
function product_type_get_names() {
  @trigger_error(__FUNCTION__ . ' is deprecated in 1.0.0-alpha20 and is removed from 1.0.0. Use arch_product_type_get_names', E_USER_DEPRECATED);
  return arch_product_type_get_names();
}
 
/**
 * Returns the product type label for the passed product.
 *
41
42
43
44
45
46
47
48
49
*/
function product_get_type_label(ProductInterface $product) {
  @trigger_error(__FUNCTION__ . ' is deprecated in 1.0.0-alpha20 and is removed from 1.0.0. Use arch_product_get_type_label', E_USER_DEPRECATED);
  return arch_product_get_type_label($product);
}
 
/**
 * Updates all products of one type to be of another type.
 *
64
65
66
67
68
69
70
71
72
*/
function product_type_update_products($old_id, $new_id) {
  @trigger_error(__FUNCTION__ . ' is deprecated in 1.0.0-alpha20 and is removed from 1.0.0. Use arch_product_type_update_products', E_USER_DEPRECATED);
  return arch_product_type_update_products($old_id, $new_id);
}
 
/**
 * Checks if the current page is the full page view of the passed-in product.
 *
82
83
84
85
86
87
88
89
90
*/
function product_is_page(ProductInterface $product) {
  @trigger_error(__FUNCTION__ . ' is deprecated in 1.0.0-alpha20 and is removed from 1.0.0. Use arch_product_is_page', E_USER_DEPRECATED);
  return arch_product_is_page($product);
}
 
/**
 * Finds the most recently changed products that are available to the user.
 *
101
102
103
104
105
106
107
108
109
*/
function product_get_recent($number = 10) {
  @trigger_error(__FUNCTION__ . ' is deprecated in 1.0.0-alpha20 and is removed from 1.0.0. Use arch_product_get_recent', E_USER_DEPRECATED);
  return arch_product_get_recent($number);
}
 
/**
 * Fetches an array of permission IDs granted to the given user ID.
 *
130
131
132
133
134
135
136
137
138
*/
function product_access_grants($op, AccountInterface $account) {
  @trigger_error(__FUNCTION__ . ' is deprecated in 1.0.0-alpha20 and is removed from 1.0.0. Use arch_product_access_grants', E_USER_DEPRECATED);
  return arch_product_access_grants($op, $account);
}
 
/**
 * Determines whether the user has a global viewing grant for all products.
 *
160
161
162
163
164
165
166
167
168
*/
function product_access_view_all_products($account = NULL) {
  @trigger_error(__FUNCTION__ . ' is deprecated in 1.0.0-alpha20 and is removed from 1.0.0. Use product_access_view_all_products', E_USER_DEPRECATED);
  return arch_product__product_access_view_all_products($account);
}
 
/**
 * Toggles or reads values of a flag for rebuilding the product access grants.
 *
187
188
189
190
191
192
193
194
195
*/
function product_access_needs_rebuild($rebuild = NULL) {
  @trigger_error(__FUNCTION__ . ' is deprecated in 1.0.0-alpha20 and is removed from 1.0.0. Use arch_product__product_access_needs_rebuild', E_USER_DEPRECATED);
  return arch_product__product_access_needs_rebuild($rebuild);
}
 
/**
 * Rebuilds the product access database.
 *
217
218
219
220
221
222
223
224
225
*/
function product_access_rebuild($batch_mode = FALSE) {
  @trigger_error(__FUNCTION__ . ' is deprecated in 1.0.0-alpha20 and is removed from 1.0.0. Use arch_product_access_rebuild', E_USER_DEPRECATED);
  arch_product_access_rebuild($batch_mode);
}
 
/**
 * Implements callback_batch_operation().
 *
241
242
243
244
245
246
247
248
249
*/
function _product_access_rebuild_batch_operation(array &$context) {
  @trigger_error(__FUNCTION__ . ' is deprecated in 1.0.0-alpha20 and is removed from 1.0.0. Use arch_product__product_access_rebuild_batch_operation', E_USER_DEPRECATED);
  arch_product__product_access_rebuild_batch_operation($context);
}
 
/**
 * Implements callback_batch_finished().
 *
262
263
264
265
266
267
268
269
270
*/
function _product_access_rebuild_batch_finished($success, array $results, array $operations) {
  @trigger_error(__FUNCTION__ . ' is deprecated in 1.0.0-alpha20 and is removed from 1.0.0. Use arch_product__product_access_rebuild_batch_finished', E_USER_DEPRECATED);
  arch_product__product_access_rebuild_batch_finished($success, $results, $operations);
}
 
/**
 * Marks a product to be re-indexed by the product_search plugin.
 *
277
278
279
280
281
*/
function product_reindex_product_search($pid) {
  @trigger_error(__FUNCTION__ . ' is deprecated in 1.0.0-alpha20 and is removed from 1.0.0. Use product_reindex_product_search', E_USER_DEPRECATED);
  arch_product_reindex_product_search($pid);
}
25.08.2020
arch 8.x-1.x-dev :: modules/checkout/modules/onepage/includes/deprecated.inc
16
17
18
19
20
*/
function arch_checkout_preprocess_arch_checkout_op_summary(array &$variables) {
  @trigger_error(__FUNCTION__ . ' is deprecated in 1.0.0-alpha20 and is removed from 1.0.0. Use arch_onepage_preprocess_arch_checkout_op_summary', E_USER_DEPRECATED);
  arch_onepage_preprocess_arch_checkout_op_summary($variables);
}
28.08.2020
attachinline 8.x-1.2 :: src/EventSubscriber/CspSubscriber.php
85
86
87
88
89
90
91
92
93
*/
public function getNonce() {
  @trigger_error('CspSubscriber::getNonce() is deprecated in attachinline:8.x-1.5 and is removed from attachinline:2.0.0. Use \Drupal\csp\Nonce::getValue() instead. See https://www.drupal.org/project/attachinline/issues/3389256', E_USER_DEPRECATED);
  return $this->nonce->getValue();
}
 
/**
 * Enable nonce for a directive.
 *
30.06.2020
blazy 8.x-2.x-dev :: src/Plugin/Filter/Shortcode.php
115
116
117
118
119
120
121
   */
  public static function unwrap($string, $container = 'blazy', $item = 'item'): string {
    // @todo @trigger_error('unwrap is deprecated in blazy:8.x-2.17 and is removed from blazy:3.0.0. Use self::parse() instead. See https://www.drupal.org/node/3367291', E_USER_DEPRECATED);
    return self::parse($string, $container, $item);
  }
 
}
14.06.2020
bootstrap 8.x-3.23 :: src/Utility/Unicode.php
212
213
214
215
216
217
218
219
220
*/
public static function strpos($haystack, $needle, $offset = 0) {
  @trigger_error('\Drupal\bootstrap\Utility\Unicode::strpos() is deprecated in bootstrap:8.x-3.22 and will be removed before bootstrap:5.0.0. Use mb_strpos() instead. See https://www.drupal.org/project/bootstrap/issues/3096963.', E_USER_DEPRECATED);
  if (static::getStatus() == static::STATUS_MULTIBYTE) {
    return mb_strpos($haystack, $needle, $offset);
  }
  else {
    // Remove Unicode continuation characters, to be compatible with
    // Unicode::strlen() and Unicode::substr().
241
242
243
244
245
246
247
248
249
*/
public static function strtolower($text) {
  @trigger_error('\Drupal\bootstrap\Utility\Unicode::strtolower() is deprecated in bootstrap:8.x-3.22 and will be removed before bootstrap:5.0.0. Use mb_strtolower() instead. See https://www.drupal.org/project/bootstrap/issues/3096963.', E_USER_DEPRECATED);
  if (static::getStatus() == static::STATUS_MULTIBYTE) {
    return mb_strtolower($text);
  }
  else {
    // Use C-locale for ASCII-only lowercase.
    $text = strtolower($text);
278
279
280
281
282
283
284
285
286
*/
public static function substr($text, $start, $length = NULL) {
  @trigger_error('\Drupal\bootstrap\Utility\Unicode::substr() is deprecated in bootstrap:8.x-3.22 and will be removed before bootstrap:5.0.0. Use mb_substr() instead. See https://www.drupal.org/project/bootstrap/issues/3096963.', E_USER_DEPRECATED);
  if (static::getStatus() == static::STATUS_MULTIBYTE) {
    return $length === NULL ? mb_substr($text, $start) : mb_substr($text, $start, $length);
  }
  else {
    $strlen = strlen($text);
    // Find the starting byte offset.
03.10.2024
bootstrap3 1.0.1 :: src/Utility/Unicode.php
212
213
214
215
216
217
218
219
220
*/
public static function strpos($haystack, $needle, $offset = 0) {
  @trigger_error('\Drupal\bootstrap3\Utility\Unicode::strpos() is deprecated in bootstrap:8.x-3.22 and will be removed before bootstrap:5.0.0. Use mb_strpos() instead. See https://www.drupal.org/project/bootstrap/issues/3096963.', E_USER_DEPRECATED);
  if (static::getStatus() == static::STATUS_MULTIBYTE) {
    return mb_strpos($haystack, $needle, $offset);
  }
  else {
    // Remove Unicode continuation characters, to be compatible with
    // Unicode::strlen() and Unicode::substr().
241
242
243
244
245
246
247
248
249
*/
public static function strtolower($text) {
  @trigger_error('\Drupal\bootstrap3\Utility\Unicode::strtolower() is deprecated in bootstrap:8.x-3.22 and will be removed before bootstrap:5.0.0. Use mb_strtolower() instead. See https://www.drupal.org/project/bootstrap/issues/3096963.', E_USER_DEPRECATED);
  if (static::getStatus() == static::STATUS_MULTIBYTE) {
    return mb_strtolower($text);
  }
  else {
    // Use C-locale for ASCII-only lowercase.
    $text = strtolower($text);
278
279
280
281
282
283
284
285
286
*/
public static function substr($text, $start, $length = NULL) {
  @trigger_error('\Drupal\bootstrap3\Utility\Unicode::substr() is deprecated in bootstrap:8.x-3.22 and will be removed before bootstrap:5.0.0. Use mb_substr() instead. See https://www.drupal.org/project/bootstrap/issues/3096963.', E_USER_DEPRECATED);
  if (static::getStatus() == static::STATUS_MULTIBYTE) {
    return $length === NULL ? mb_substr($text, $start) : mb_substr($text, $start, $length);
  }
  else {
    $strlen = strlen($text);
    // Find the starting byte offset.
30.04.2024
breezy_utility 1.0.x-dev :: src/BreezyUtilityClassesManager.php
88
89
90
91
92
93
94
95
96
$this->themeHandler = $theme_handler;
if ($module_extension_list === NULL) {
  @trigger_error('Calling ' . __METHOD__ . '() without the $module_extension_list argument is deprecated in drupal:10.3.0 and will be required in drupal:12.0.0. See https://www.drupal.org/node/3310017', E_USER_DEPRECATED);
  // @phpstan-ignore-next-line
  $module_extension_list = \Drupal::service('extension.list.module');
}
$this->moduleExtensionList = $module_extension_list;
$this->setStringTranslation($string_translation);
$this->alterInfo('breezy_utility_classes');
13.10.2020
build_hooks 8.x-2.4 :: src/DeployLogger.php
170
171
172
173
174
175
176
177
178
*/
public function getLogItemsSinceTimestamp($timestamp) {
  @trigger_error(__METHOD__ . ' is deprecated in build_hooks:8.x-2.4 and is removed from build_hooks:8.x-3.0. There is no replacement, instead work with the deployment content entity. See https://www.drupal.org/node/3172327', E_USER_DEPRECATED);
  return [];
}
 
/**
 * Gets how many changes have happened since the last deployment for an env.
 *

Pages

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc