Results
11.02.2020
cilogon_auth 8.x-1.1 ::
cilogon_auth.module
372 373 374 375 376 377 378 379 380 | */ function cilogon_auth_save_userinfo(UserInterface $account , array $userinfo ) { @trigger_error( 'cilogon_auth_save_userinfo() is deprecated and will be removed in 8.x-1.x-rc1.' , E_USER_DEPRECATED); \Drupal::service( 'cilogon_auth.cilogon_auth' )->saveUserinfo( $account , $userinfo ); } /** * Logs in a user. * |
384 385 386 387 388 389 390 391 392 | */ function cilogon_auth_login_user(UserInterface $account ) { @trigger_error( 'cilogon_auth_login_user() is deprecated and will be removed in 8.x-1.x-rc1.' , E_USER_DEPRECATED); user_login_finalize( $account ); } /** * Save the current path in the session, for redirecting after authorization. * |
396 397 398 399 400 401 402 403 404 | */ function cilogon_auth_save_destination() { @trigger_error( 'cilogon_auth_save_destination() is deprecated and will be removed in 8.x-1.x-rc1.' , E_USER_DEPRECATED); \Drupal::service( 'cilogon_auth.session' )->saveDestination(); } /** * Creates a user indicating sub-id and login provider. * |
420 421 422 423 424 425 426 427 428 | */ function cilogon_auth_create_user( $sub , array $userinfo , $client_name , $status = 1) { @trigger_error( 'cilogon_auth_create_user() is deprecated and will be removed in 8.x-1.x-rc1.' , E_USER_DEPRECATED); return \Drupal::service( 'cilogon_auth.cilogon_auth' )->createUser( $sub , $userinfo , $client_name , $status ); } /** * Generate a username for a new account. * |
444 445 446 447 448 449 450 451 452 | */ function cilogon_auth_generate_username( $sub , array $userinfo , $client_name ) { @trigger_error( 'cilogon_auth_generate_username() is deprecated and will be removed in 8.x-1.x-rc1.' , E_USER_DEPRECATED); return \Drupal::service( 'cilogon_auth.cilogon_auth' )->generateUsername( $sub , $userinfo , $client_name ); } /** * Check if a user name already exists. * |
464 465 466 467 468 469 470 471 472 | */ function cilogon_auth_username_exists( $name ) { @trigger_error( 'cilogon_auth_username_exists() is deprecated and will be removed in 8.x-1.x-rc1.' , E_USER_DEPRECATED); return \Drupal::service( 'cilogon_auth.cilogon_auth' )->usernameExists( $name ); } /** * Find whether the user is allowed to change their own password. * |
483 484 485 486 487 488 489 490 491 | */ function cilogon_auth_set_password_access( $account ) { @trigger_error( 'cilogon_auth_set_password_access() is deprecated and will be removed in 8.x-1.x-rc1.' , E_USER_DEPRECATED); return \Drupal::service( 'cilogon_auth.cilogon_auth' )->hasSetPasswordAccess( $account ); } /** * Connect an external CILogon Auth account to a Drupal user account. * |
502 503 504 505 506 507 508 509 510 | */ function cilogon_auth_connect_account( $account , $client_name , $sub , $idp_name ) { @trigger_error( 'cilogon_auth_connect_account() is deprecated and will be removed in 8.x-1.x-rc1.' , E_USER_DEPRECATED); \Drupal::service( 'cilogon_auth.authmap' )->createAssociation( $account , $client_name , $sub , $idp_name ); } /** * Disconnect an external CILogon Auth account from a Drupal user account. * |
519 520 521 522 523 524 525 526 527 | */ function cilogon_auth_disconnect_account( $account , $client_name ) { @trigger_error( 'cilogon_auth_disconnect_account() is deprecated and will be removed in 8.x-1.x-rc1.' , E_USER_DEPRECATED); \Drupal::service( 'cilogon_auth.authmap' )->deleteAssociation( $account ->id(), $client_name ); } /** * Get the 'sub' property from the user data and / or user claims. * |
544 545 546 547 548 549 550 551 552 | */ function cilogon_auth_extract_sub( array $user_data , array $userinfo ) { @trigger_error( 'cilogon_auth_extract_sub() is deprecated and will be removed in 8.x-1.x-rc1.' , E_USER_DEPRECATED); return \Drupal::service( 'cilogon_auth.cilogon_auth' )->extractSub( $user_data , $userinfo ); } /** * Complete the authorization after tokens have been retrieved. * |
567 568 569 570 571 572 573 574 575 | */ function cilogon_auth_complete_authorization( $client , array $tokens , & $destination ) { @trigger_error( 'cilogon_auth_complete_authorization() is deprecated and will be removed in 8.x-1.x-rc1.' , E_USER_DEPRECATED); return \Drupal::service( 'cilogon_auth.cilogon_auth' )->completeAuthorization( $client , $tokens , $destination ); } /** * Connect the current user's account to an external provider. * |
588 589 590 591 592 | */ function cilogon_auth_connect_current_user( $client , array $tokens ) { @trigger_error( 'cilogon_auth_connect_current_user() is deprecated and will be removed in 8.x-1.x-rc1.' , E_USER_DEPRECATED); return \Drupal::service( 'cilogon_auth.cilogon_auth' )->connectCurrentUser( $client , $tokens ); } |
09.11.2019
cloud 8.x-2.0-beta1 ::
modules/cloud_service_providers/aws_cloud/src/Plugin/cloud/server_template/AwsCloudServerTemplatePluginUninstallValidator.php
57 58 59 60 61 62 63 64 | TranslationInterface $string_translation ) { if ( $entity_type_manager instanceof EntityManagerInterface) { @trigger_error( 'Passing the entity.manager service to AwsCloudUninstallValidator::__construct() is deprecated in "Drupal 8.7.0" and will be removed before "Drupal 9.0.0". Pass the new dependencies instead. See https://www.drupal.org/node/2549139' , E_USER_DEPRECATED); $this ->entityTypeManager = \Drupal::entityTypeManager(); } else { $this ->entityTypeManager = $entity_type_manager ; } |
17.07.2018
commerce 8.x-2.8 ::
src/EntityAccessControlHandler.php
3 4 5 6 7 8 9 10 11 | namespace Drupal\commerce; @trigger_error( 'The ' . __NAMESPACE__ . '\EntityAccessControlHandler is deprecated. Instead, use \Drupal\entity\EntityAccessControlHandler' , E_USER_DEPRECATED); use Drupal\entity\EntityAccessControlHandler as BaseEntityAccessControlHandler; /** * Controls access based on the Commerce entity permissions. * |
17.07.2018
commerce 8.x-2.8 ::
src/BundleFieldDefinition.php
3 4 5 6 7 8 9 10 11 | namespace Drupal\commerce; @trigger_error( 'The ' . __NAMESPACE__ . '\BundleFieldDefinition is deprecated. Instead, use \Drupal\entity\BundleFieldDefinition' , E_USER_DEPRECATED); use Drupal\entity\BundleFieldDefinition as EntityBundleFieldDefinition; /** * Provides a field definition class for bundle fields. * |
17.07.2018
commerce 8.x-2.8 ::
src/BundlePluginInterface.php
3 4 5 6 7 8 9 10 11 | namespace Drupal\commerce; @trigger_error( 'The ' . __NAMESPACE__ . '\BundlePluginInterface is deprecated. Instead, use \Drupal\entity\BundlePlugin\BundlePluginInterface' , E_USER_DEPRECATED); use Drupal\entity\BundlePlugin\BundlePluginInterface as BaseBundlePluginInterface; /** * Interface for plugins which act as entity bundles. * |
17.07.2018
commerce 8.x-2.8 ::
modules/price/src/NumberFormatterFactory.php
5 6 7 8 9 10 11 12 13 | use CommerceGuys\Intl\Formatter\CurrencyFormatterInterface; @trigger_error( 'The ' . __NAMESPACE__ . '\NumberFormatterFactory is deprecated. Instead, use \Drupal\commerce_price\CurrencyFormatter. See https://www.drupal.org/node/2975672.' , E_USER_DEPRECATED); /** * Defines the NumberFormatter factory. * * @deprecated Use \Drupal\commerce_price\CurrencyFormatter instead. */ |
28.09.2018
entity_reference_inline 8.x-1.x-dev ::
src/Plugin/Field/FieldWidget/EntityReferenceInlineWidget.php
1250 1251 1252 1253 1254 1255 1256 1257 1258 | else { // This should never happen. @trigger_error( 'The entity should be loaded from the field items instead from the meta information.' , E_USER_DEPRECATED); $entity = $this ->loadEntityFromMetaInformation( $delta_values ); } // ContentEntityForm::buildEntity is cloning the main form entity and // setting the submitted values on the cloned entity, so that the // original one is not altered and on form rebuild the form is rebuild |
26.05.2020
gcs 8.x-1.0-alpha3 ::
src/GcsFileSystem/GcsFileSystem.php
288 289 290 291 292 293 294 295 296 | public function uriScheme( $uri ) { error_log ( __LINE__ ); @trigger_error( 'FileSystem::uriScheme() is deprecated in drupal:8.8.0. It will be removed from drupal:9.0.0. Use \\Drupal\\Core\\StreamWrapper\\StreamWrapperManagerInterface::getScheme() instead. See https://www.drupal.org/node/3035273' , E_USER_DEPRECATED); return StreamWrapperManager::getScheme( $uri ); } /** * {@inheritdoc} */ |
297 298 299 300 301 302 303 304 305 | public function validScheme( $scheme ) { error_log ( __LINE__ ); @trigger_error( 'FileSystem::validScheme() is deprecated in drupal:8.8.0 and will be removed before drupal:9.0.0. Use \\Drupal\\Core\\StreamWrapper\\StreamWrapperManagerInterface::isValidScheme() instead. See https://www.drupal.org/node/3035273' , E_USER_DEPRECATED); return $this ->streamWrapperManager ->isValidScheme( $scheme ); } /** * {@inheritdoc} |
16.03.2020
gridstack 8.x-2.5 ::
src/GridStackSkinInterface.php
3 4 5 6 7 8 9 10 11 | namespace Drupal\gridstack; @trigger_error( 'The ' . __NAMESPACE__ . '\GridStackSkinInterface is deprecated in gridstack:8.x-2.0 and is removed from gridstack:8.x-2.5. Use \Drupal\gridstack\GridStackSkinPluginBase instead. See https://www.drupal.org/node/3107311' , E_USER_DEPRECATED); /** * Provides an interface defining GridStack skins. * * The hook_hook_info() is deprecated, and no resolution by 1/16/16: * #2233261: Deprecate hook_hook_info() |
29.05.2019
jsonapi 8.x-2.x-dev ::
src/ForwardCompatibility/Normalizer/DateTimeIso8601Normalizer.php
100 101 102 103 104 105 106 | if (isset( $using_deprecated_format )) { @trigger_error( 'The provided datetime string format (Y-m-d\\TH:i:s) is deprecated and will be removed before Drupal 9.0.0. Use the RFC3339 format instead (Y-m-d\\TH:i:sP).' , E_USER_DEPRECATED); } $datetime ->setTimezone( new \DateTimeZone(DateTimeItemInterface::STORAGE_TIMEZONE)); return $datetime ->format(DateTimeItemInterface::DATETIME_STORAGE_FORMAT); } } |
30.12.2019
lb_everywhere 8.x-1.x-dev ::
src/Plugin/SectionStorage/RegionSectionStorage.php
219 220 221 222 223 224 225 226 227 | */ public function getSectionListFromId( $id ) { @trigger_error( '\Drupal\layout_builder\SectionStorageInterface::getSectionListFromId() is deprecated in drupal:8.7.0. It will be removed before drupal:9.0.0. The section list should be derived from context. See https://www.drupal.org/node/3016262' , E_USER_DEPRECATED); } /** * {@inheritdoc} */ public function extractIdFromRoute( $value , $definition , $name , array $defaults ) { |
226 227 228 229 230 231 | */ public function extractIdFromRoute( $value , $definition , $name , array $defaults ) { @trigger_error( '\Drupal\layout_builder\SectionStorageInterface::extractIdFromRoute() is deprecated in drupal:8.7.0. It will be removed before drupal:9.0.0. \Drupal\layout_builder\SectionStorageInterface::deriveContextsFromRoute() should be used instead. See https://www.drupal.org/node/3016262' , E_USER_DEPRECATED); } } |
12.06.2020
link_preview 8.x-1.4 ::
src/Plugin/Field/FieldType/LinkPreviewItem.php
175 176 177 178 179 180 181 182 183 | // this, options must not be passed as a string anymore. if ( is_string ( $values [ 'options' ])) { @trigger_error( 'Support for passing options as a serialized string is deprecated in 8.7.0 and will be removed before Drupal 9.0.0. Pass them as an array instead. See https://www.drupal.org/node/2961643.' , E_USER_DEPRECATED); $values [ 'options' ] = unserialize( $values [ 'options' ], [ 'allowed_classes' => FALSE]); } parent::setValue( $values , $notify ); } /** |
17.12.2019
replace 8.x-1.0 ::
src/Controller/NodeController.php
55 56 57 58 59 60 61 62 63 | $this ->renderer = $renderer ; if (! $entity_repository ) { @trigger_error( 'The entity.repository service must be passed to NodeController::__construct(), it is required before Drupal 9.0.0. See https://www.drupal.org/node/2549139.' , E_USER_DEPRECATED); $entity_repository = \Drupal::service( 'entity.repository' ); } $this ->entityRepository = $entity_repository ; } /** |
127 128 129 130 131 132 133 134 | */ public function replace(NodeTypeInterface $node_type ) { @trigger_error( __METHOD__ . ' is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Define entity form routes through the _entity_form instead through the _controller directive. See https://www.drupal.org/node/3084856' , E_USER_DEPRECATED); $node = $this ->entityTypeManager()->getStorage( 'node' )->create([ 'type' => $node_type ->id(), ]); $form = $this ->entityFormBuilder()->getForm( $node ); |
07.11.2019
search_api 8.x-1.15 ::
src/Datasource/DatasourcePluginBase.php
99 100 101 102 103 104 105 106 107 | */ public function checkItemAccess(ComplexDataInterface $item , AccountInterface $account = NULL) { @trigger_error( '\Drupal\search_api\Datasource\DatasourceInterface::checkItemAccess() is deprecated in search_api:8.x-1.14 and is removed from search_api:9.x-1.0. Use getItemAccessResult() instead. See https://www.drupal.org/node/3051902' , E_USER_DEPRECATED); return $this ->getItemAccessResult( $item , $account )->isAllowed(); } /** * {@inheritdoc} */ |
07.11.2019
search_api 8.x-1.15 ::
src/Display/DisplayPluginBase.php
138 139 140 141 142 143 144 145 | */ public function getUrl() { @trigger_error( '\Drupal\search_api\Display\DisplayInterface::getUrl() is deprecated in Search API 8.x-1.0 Beta 5. Use ::getPath() instead. See https://www.drupal.org/node/2856050' , E_USER_DEPRECATED); if ( $path = $this ->getPath()) { return Url::fromUserInput( $path ); } return NULL; } |
07.11.2019
search_api 8.x-1.15 ::
src/Plugin/views/query/SearchApiQuery.php
284 285 286 287 288 289 290 291 292 | */ public function addRetrievedProperty( $combined_property_path ) { @trigger_error( '\Drupal\search_api\Plugin\views\query\SearchApiQuery::addRetrievedProperty() is deprecated in Search API 8.x-1.11. Use addRetrievedFieldValue() instead. See https://www.drupal.org/node/3009136' , E_USER_DEPRECATED); $this ->addField(NULL, $combined_property_path ); return $this ; } /** * Adds a field value to be retrieved. |
420 421 422 423 424 425 426 427 428 | */ public function getEntityTypes( $return_bool = FALSE) { @trigger_error( '\Drupal\search_api\Plugin\views\query\SearchApiQuery::getEntityTypes() is deprecated in Search API 8.x-1.5. Use \Drupal\search_api\IndexInterface::getEntityTypes() instead. See https://www.drupal.org/node/2899678' , E_USER_DEPRECATED); $types = $this ->index->getEntityTypes(); return $return_bool ? (bool) $types : $types ; } /** * {@inheritdoc} |
07.11.2019
search_api 8.x-1.15 ::
src/Item/Item.php
417 418 419 420 421 422 423 424 425 | */ public function checkAccess(AccountInterface $account = NULL) { @trigger_error( '\Drupal\search_api\Item\ItemInterface::checkAccess() is deprecated in search_api:8.x-1.14 and is removed from search_api:9.x-1.0. Use getAccessResult() instead. See https://www.drupal.org/node/3051902' , E_USER_DEPRECATED); return $this ->getAccessResult( $account )->isAllowed(); } /** * {@inheritdoc} */ |
05.02.2020
simpletest 8.x-3.x-dev ::
src/Exception/MissingGroupException.php
3 4 5 6 7 8 9 10 11 | namespace Drupal\simpletest\Exception; @trigger_error(__NAMESPACE__ . '\\MissingGroupException is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Test\Exception\MissingGroupException instead. See https://www.drupal.org/node/2949692' , E_USER_DEPRECATED); use Drupal\Core\Test\Exception\MissingGroupException as CoreMissingGroupException; /** * Exception thrown when a simpletest class is missing an @group annotation. * |
05.02.2020
simpletest 8.x-3.x-dev ::
src/NodeCreationTrait.php
3 4 5 6 7 8 9 10 11 | namespace Drupal\simpletest; @trigger_error(__NAMESPACE__ . '\NodeCreationTrait is deprecated in Drupal 8.4.x. Will be removed before Drupal 9.0.0. Use \Drupal\Tests\node\Traits\NodeCreationTrait instead. See https://www.drupal.org/node/2884454.' , E_USER_DEPRECATED); use Drupal\Tests\node\Traits\NodeCreationTrait as BaseNodeCreationTrait; /** * Provides methods to create node based on default settings. * |
05.02.2020
simpletest 8.x-3.x-dev ::
src/InstallerTestBase.php
3 4 5 6 7 8 9 10 11 | namespace Drupal\simpletest; @trigger_error(__NAMESPACE__ . '\InstallerTestBase is deprecated in Drupal 8.6.0 and will be removed before Drupal 9.0.0. Instead, use \Drupal\FunctionalTests\Installer\InstallerTestBase, see https://www.drupal.org/node/2988752.' , E_USER_DEPRECATED); use Drupal\Core\DrupalKernel; use Drupal\Core\Language\Language; use Drupal\Core\Session\UserSession; use Drupal\Core\Site\Settings; use Drupal\Tests\RequirementsPageTrait; |