From 3cee107ce55c61c58e936d444fa80722181299ad Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Thu, 3 Oct 2013 12:26:25 +0100 Subject: [PATCH] Issue #2100329 by cosmicdreams: Use \Drupal instead of Drupal to make IDEs and static code analyse tools happy. --- core/includes/bootstrap.inc | 8 +- core/includes/cache.inc | 4 +- core/includes/common.inc | 10 +-- core/includes/config.inc | 16 ++-- core/includes/entity.inc | 22 +++--- core/includes/file.inc | 2 +- core/includes/install.core.inc | 2 +- core/includes/mail.inc | 2 +- core/includes/module.inc | 2 +- core/includes/update.inc | 4 +- .../Component/Archiver/ArchiverInterface.php | 6 +- core/lib/Drupal/Component/Archiver/Tar.php | 4 +- core/lib/Drupal/Component/Archiver/Zip.php | 2 +- .../Component/Gettext/PoMetadataInterface.php | 8 +- .../Component/Gettext/PoReaderInterface.php | 2 +- .../Component/Gettext/PoStreamReader.php | 4 +- .../Component/Gettext/PoStreamWriter.php | 6 +- core/lib/Drupal/Component/Graph/Graph.php | 2 +- .../DerivativeDiscoveryDecorator.php | 2 +- .../Plugin/Factory/DefaultFactory.php | 2 +- .../Plugin/PluginManagerInterface.php | 2 +- core/lib/Drupal/Core/Asset/CssOptimizer.php | 2 +- core/lib/Drupal/Core/Cache/BackendChain.php | 4 +- .../Core/Cache/CacheBackendInterface.php | 78 +++++++++---------- .../lib/Drupal/Core/Cache/DatabaseBackend.php | 2 +- core/lib/Drupal/Core/Config/CachedStorage.php | 10 +-- core/lib/Drupal/Core/Config/Config.php | 28 +++---- core/lib/Drupal/Core/Config/ConfigEvent.php | 2 +- core/lib/Drupal/Core/Config/ConfigFactory.php | 6 +- .../Core/Config/Context/ContextInterface.php | 4 +- .../Drupal/Core/Config/DatabaseStorage.php | 10 +-- core/lib/Drupal/Core/Config/FileStorage.php | 2 +- .../lib/Drupal/Core/Config/InstallStorage.php | 8 +- .../Core/Controller/ExceptionController.php | 4 +- .../Drupal/Core/Database/StatementEmpty.php | 2 +- core/lib/Drupal/Core/Database/Transaction.php | 2 +- .../Drupal/Core/Datetime/DrupalDateTime.php | 2 +- .../Core/Entity/DatabaseStorageController.php | 4 +- .../Core/Entity/EntityFormController.php | 2 +- .../Core/Entity/EntityListController.php | 6 +- .../Core/Entity/Query/QueryInterface.php | 4 +- .../Drupal/Core/FileTransfer/FileTransfer.php | 6 +- .../DatabaseStorageExpirable.php | 2 +- .../Core/PathProcessor/PathProcessorFront.php | 2 +- .../Core/Plugin/Discovery/CacheDecorator.php | 4 +- .../Plugin/Discovery/InfoHookDecorator.php | 4 +- .../lib/Drupal/Core/Routing/MatcherDumper.php | 4 +- .../lib/Drupal/Core/Routing/RouteProvider.php | 2 +- .../Core/StreamWrapper/PublicStream.php | 2 +- .../Drupal/Core/Template/AttributeArray.php | 2 +- .../Drupal/Core/Template/AttributeBoolean.php | 2 +- .../Drupal/Core/Template/AttributeString.php | 2 +- .../Core/Template/AttributeValueBase.php | 2 +- .../Core/TypedData/AccessibleInterface.php | 2 +- .../Core/TypedData/Annotation/DataType.php | 2 +- core/lib/Drupal/Core/TypedData/TypedData.php | 2 +- core/lib/Drupal/Core/Updater/Updater.php | 24 +++--- .../Drupal/aggregator/FeedFormController.php | 2 +- .../ban/EventSubscriber/BanSubscriber.php | 4 +- .../Tests/CustomBlockTestBase.php | 4 +- .../Tests/CustomBlockTranslationUITest.php | 2 +- core/modules/breakpoint/breakpoint.module | 2 +- .../breakpoint/Entity/BreakpointGroup.php | 4 +- .../ckeditor/js/ckeditor.stylescombo.admin.js | 2 +- core/modules/comment/comment.api.php | 14 ++-- core/modules/comment/comment.module | 2 +- .../Drupal/comment/Tests/CommentLinksTest.php | 2 +- .../Tests/Views/DefaultViewRecentComments.php | 2 +- .../Drupal/comment/Tests/Views/WizardTest.php | 2 +- core/modules/contact/contact.pages.inc | 2 +- .../edit/lib/Drupal/edit/EditController.php | 2 +- core/modules/editor/editor.module | 2 +- core/modules/field/field.attach.inc | 2 +- .../field/Plugin/PluginSettingsInterface.php | 4 +- .../Type/Formatter/FormatterInterface.php | 4 +- .../modules/field_test/field_test.module | 4 +- .../lib/Drupal/field_ui/FieldOverview.php | 4 +- core/modules/file/file.api.php | 4 +- core/modules/file/file.module | 32 ++++---- .../FileUsage/DatabaseFileUsageBackend.php | 4 +- .../file/FileUsage/FileUsageInterface.php | 6 +- .../Tests/LanguageDependencyInjectionTest.php | 4 +- .../Tests/Views/ArgumentLanguageTest.php | 2 +- .../Tests/Views/FieldLanguageTest.php | 2 +- .../Tests/Views/FilterLanguageTest.php | 2 +- .../locale/lib/Drupal/locale/Gettext.php | 2 +- .../lib/Drupal/locale/PoDatabaseWriter.php | 6 +- .../locale/lib/Drupal/locale/StringBase.php | 2 +- .../Drupal/locale/StringDatabaseStorage.php | 20 ++--- .../lib/Drupal/locale/StringInterface.php | 26 +++---- .../Drupal/locale/Tests/LocaleStringTest.php | 2 +- .../lib/Drupal/locale/TranslationString.php | 2 +- .../menu_link/MenuLinkStorageController.php | 2 +- core/modules/node/node.api.php | 2 +- core/modules/node/node.module | 4 +- .../search/Plugin/views/filter/Search.php | 2 +- .../lib/Drupal/search/ViewsSearchQuery.php | 2 +- .../SerializationTestEncoder.php | 2 +- .../Drupal/simpletest/DrupalUnitTestBase.php | 18 ++--- core/modules/system/entity.api.php | 16 ++-- .../Cache/GenericCacheBackendUnitTestBase.php | 4 +- .../Drupal/system/Tests/Common/RenderTest.php | 2 +- .../system/Tests/Database/FetchTest.php | 2 +- .../Tests/KeyValueStore/StorageTestBase.php | 4 +- .../lib/Drupal/system/Tests/Mail/MailTest.php | 2 +- .../system/Tests/Path/UrlAliasFixtures.php | 4 +- .../Tests/Plugin/AlterDecoratorTest.php | 2 +- .../Drupal/system/Tests/Queue/QueueTest.php | 4 +- .../system/Tests/Routing/RoutingFixtures.php | 4 +- .../Tests/Theme/EntityFilteringThemeTest.php | 8 +- .../system/Tests/TypedData/TypedDataTest.php | 2 +- .../Tests/Upgrade/UpgradePathTestBase.php | 6 +- core/modules/system/system.api.php | 4 +- core/modules/system/system.module | 4 +- .../tests/modules/common_test/js/shorthand.js | 2 +- .../Plugin/CachedMockBlockManager.php | 2 +- .../mock_block/MockLayoutBlock.php | 6 +- .../mock_block/MockLayoutBlockDeriver.php | 2 +- .../plugin_test/mock_block/MockMenuBlock.php | 2 +- .../mock_block/MockMenuBlockDeriver.php | 2 +- .../plugin_test/mock_block/MockTestBlock.php | 2 +- .../mock_block/MockUserLoginBlock.php | 2 +- .../Drupal/system_test/MockFileTransfer.php | 2 +- .../taxonomy/Tests/Views/TaxonomyTestBase.php | 6 +- core/modules/taxonomy/taxonomy.api.php | 20 ++--- core/modules/taxonomy/taxonomy.module | 10 +-- core/modules/taxonomy/taxonomy.pages.inc | 4 +- .../field/formatter/TextTrimmedFormatter.php | 2 +- .../Drupal/update_test/MockFileTransfer.php | 2 +- .../user/lib/Drupal/user/TempStore.php | 6 +- .../user/lib/Drupal/user/TempStoreFactory.php | 10 +-- .../user/Tests/TempStoreDatabaseTest.php | 4 +- .../user/Tests/Views/AccessPermissionTest.php | 2 +- .../user/Tests/Views/AccessRoleTest.php | 2 +- .../views/lib/Drupal/views/Entity/View.php | 2 +- .../Drupal/views/Plugin/views/HandlerBase.php | 12 +-- .../Drupal/views/Plugin/views/PluginBase.php | 4 +- .../views/Plugin/views/argument/Date.php | 2 +- .../Plugin/views/cache/CachePluginBase.php | 4 +- .../views/Plugin/views/filter/ManyToOne.php | 2 +- .../Plugin/views/join/JoinPluginBase.php | 8 +- .../Drupal/views/Plugin/views/query/Sql.php | 16 ++-- .../Plugin/views/style/StylePluginBase.php | 2 +- .../Plugin/views/wizard/WizardInterface.php | 4 +- .../Plugin/views/wizard/WizardPluginBase.php | 14 ++-- .../Drupal/views/Tests/Handler/AreaTest.php | 4 +- .../views/Tests/Handler/AreaTextTest.php | 2 +- .../views/Tests/Handler/AreaTitleTest.php | 2 +- .../views/Tests/Handler/HandlerTest.php | 4 +- .../views/Tests/Handler/RelationshipTest.php | 2 +- .../Drupal/views/Tests/Plugin/AccessTest.php | 2 +- .../Tests/Plugin/ArgumentDefaultTest.php | 2 +- .../Tests/Plugin/DisplayAttachmentTest.php | 2 +- .../Tests/Plugin/DisplayExtenderTest.php | 2 +- .../views/Tests/Plugin/DisplayFeedTest.php | 2 +- .../views/Tests/Plugin/DisplayPageTest.php | 2 +- .../Drupal/views/Tests/Plugin/DisplayTest.php | 2 +- .../Drupal/views/Tests/Plugin/FilterTest.php | 2 +- .../views/Tests/Plugin/StyleMappingTest.php | 2 +- .../Drupal/views/Tests/Plugin/StyleTest.php | 2 +- .../Drupal/views/Tests/ViewExecutableTest.php | 2 +- .../Drupal/views/Tests/ViewStorageTest.php | 6 +- .../Drupal/views/Tests/ViewsTemplateTest.php | 2 +- .../views/lib/Drupal/views/ViewExecutable.php | 8 +- .../views/Tests/Plugin/area/ResultTest.php | 2 +- .../Plugin/views/area/TestExample.php | 2 +- .../Plugin/views/query/QueryTest.php | 2 +- .../views_test_data/views_test_data.module | 4 +- core/modules/views/views.module | 12 +-- .../views_ui/Tests/DisplayAttachmentTest.php | 2 +- .../lib/Drupal/views_ui/Tests/RowUITest.php | 2 +- .../Drupal/views_ui/Tests/SettingsTest.php | 2 +- .../lib/Drupal/views_ui/Tests/StyleUITest.php | 2 +- .../Tests/Component/Graph/GraphTest.php | 2 +- .../Tests/Component/Utility/MapArrayTest.php | 8 +- .../Tests/Component/Utility/SortArrayTest.php | 16 ++-- .../Tests/Component/Utility/TimerTest.php | 2 +- .../BackendChainImplementationUnitTest.php | 8 +- 178 files changed, 459 insertions(+), 459 deletions(-) diff --git a/core/includes/bootstrap.inc b/core/includes/bootstrap.inc index 32f47fa1d8e..4a6f3de6a96 100644 --- a/core/includes/bootstrap.inc +++ b/core/includes/bootstrap.inc @@ -2277,7 +2277,7 @@ function _drupal_load_test_overrides($test_prefix) { global $conf, $config_directories; // Do not use the parent site's config directories. Use only the child site's. - // @see Drupal\simpletest\TestBase::prepareConfigDirectories() + // @see \Drupal\simpletest\TestBase::prepareConfigDirectories() $path_prefix = 'simpletest/' . substr($test_prefix, 10); $config_directories = array(); foreach (array(CONFIG_ACTIVE_DIRECTORY, CONFIG_STAGING_DIRECTORY) as $type) { @@ -2353,7 +2353,7 @@ function drupal_language_initialize() { /** * Returns the language object for a given language type. * - * @see Drupal\Core\Language\LanguageManager + * @see \Drupal\Core\Language\LanguageManager * * @param string $type * The type of language object needed, e.g. Language::TYPE_INTERFACE. @@ -2561,7 +2561,7 @@ function language_is_locked($langcode) { /** * Returns the default language used on the site. * - * @return Drupal\Core\Language\Language + * @return \Drupal\Core\Language\Language * A language object. */ function language_default() { @@ -3086,7 +3086,7 @@ function drupal_check_memory_limit($required, $memory_limit = NULL) { * @deprecated Use \Drupal::lock() instead, or even better have the lock service * injected into your object. * - * @return Drupal\Core\Lock\LockBackendInterface + * @return \Drupal\Core\Lock\LockBackendInterface */ function lock() { return \Drupal::lock(); diff --git a/core/includes/cache.inc b/core/includes/cache.inc index d7dca8e3102..b39b7ff04f6 100644 --- a/core/includes/cache.inc +++ b/core/includes/cache.inc @@ -20,10 +20,10 @@ use Drupal\Core\Cache\Cache; * The cache bin for which the cache object should be returned, defaults to * 'cache'. * - * @return Drupal\Core\Cache\CacheBackendInterface + * @return \Drupal\Core\Cache\CacheBackendInterface * The cache object associated with the specified bin. * - * @see Drupal\Core\Cache\CacheBackendInterface + * @see \Drupal\Core\Cache\CacheBackendInterface */ function cache($bin = 'cache') { return \Drupal::cache($bin); diff --git a/core/includes/common.inc b/core/includes/common.inc index 2048ab4787b..6b4865dcc7d 100644 --- a/core/includes/common.inc +++ b/core/includes/common.inc @@ -297,7 +297,7 @@ function drupal_get_profile() { * @deprecated This will be removed in 8.0. Instead, register a new breadcrumb * builder service. * - * @see Drupal\Core\Breadcrumb\BreadcrumbBuilderInterface + * @see \Drupal\Core\Breadcrumb\BreadcrumbBuilderInterface */ function drupal_set_breadcrumb($breadcrumb = NULL) { $stored_breadcrumb = &drupal_static(__FUNCTION__); @@ -3135,8 +3135,8 @@ function _drupal_bootstrap_code() { * * DrupalKernel skips this and replicates it via event listeners. * - * @see Drupal\Core\EventSubscriber\PathSubscriber; - * @see Drupal\Core\EventSubscriber\LegacyRequestSubscriber; + * @see \Drupal\Core\EventSubscriber\PathSubscriber; + * @see \Drupal\Core\EventSubscriber\LegacyRequestSubscriber; */ function _drupal_bootstrap_full($skip = FALSE) { static $called = FALSE; @@ -4949,7 +4949,7 @@ function archiver_get_archiver($file) { * @return array * The Drupal Updater class registry. * - * @see Drupal\Core\Updater\Updater + * @see \Drupal\Core\Updater\Updater * @see hook_updater_info() * @see hook_updater_info_alter() */ @@ -4969,7 +4969,7 @@ function drupal_get_updaters() { * @return * The Drupal FileTransfer class registry. * - * @see Drupal\Core\FileTransfer\FileTransfer + * @see \Drupal\Core\FileTransfer\FileTransfer * @see hook_filetransfer_info() * @see hook_filetransfer_info_alter() */ diff --git a/core/includes/config.inc b/core/includes/config.inc index fa804acdbe7..2857c686dc9 100644 --- a/core/includes/config.inc +++ b/core/includes/config.inc @@ -102,7 +102,7 @@ function config_uninstall_default_config($type, $name) { /** * Gets configuration object names starting with a given prefix. * - * @see Drupal\Core\Config\StorageInterface::listAll() + * @see \Drupal\Core\Config\StorageInterface::listAll() */ function config_get_storage_names_with_prefix($prefix = '') { return drupal_container()->get('config.storage')->listAll($prefix); @@ -123,7 +123,7 @@ function config_get_storage_names_with_prefix($prefix = '') { * config object returned will contain the contents of book.admin * configuration file. * - * @return Drupal\Core\Config\Config + * @return \Drupal\Core\Config\Config * A configuration object. */ function config($name) { @@ -219,9 +219,9 @@ function config_get_entity_type_by_name($name) { * * Use the typed data manager service for creating typed configuration objects. * - * @see Drupal\Core\TypedData\TypedDataManager::create() + * @see \Drupal\Core\TypedData\TypedDataManager::create() * - * @return Drupal\Core\TypedData\TypedConfigManager + * @return \Drupal\Core\TypedData\TypedConfigManager */ function config_typed() { return drupal_container()->get('config.typed'); @@ -230,9 +230,9 @@ function config_typed() { /** * Creates a configuration snapshot following a successful import. * - * @param Drupal\Core\Config\StorageInterface $source_storage + * @param \Drupal\Core\Config\StorageInterface $source_storage * The storage to synchronize configuration from. - * @param Drupal\Core\Config\StorageInterface $snapshot_storage + * @param \Drupal\Core\Config\StorageInterface $snapshot_storage * The storage to synchronize configuration to. */ function config_import_create_snapshot(StorageInterface $source_storage, StorageInterface $snapshot_storage) { @@ -245,9 +245,9 @@ function config_import_create_snapshot(StorageInterface $source_storage, Storage /** * Return a formatted diff of a named config between two storages. * - * @param Drupal\Core\Config\StorageInterface $source_storage + * @param \Drupal\Core\Config\StorageInterface $source_storage * The storage to diff configuration from. - * @param Drupal\Core\Config\StorageInterface $target_storage + * @param \Drupal\Core\Config\StorageInterface $target_storage * The storage to diff configuration to. * @param string $name * The name of the configuration object to diff. diff --git a/core/includes/entity.inc b/core/includes/entity.inc index 199263b9f9c..a2218192901 100644 --- a/core/includes/entity.inc +++ b/core/includes/entity.inc @@ -192,7 +192,7 @@ function entity_get_view_modes($entity_type = NULL) { * @param bool $reset * Whether to reset the internal cache for the requested entity type. * - * @return Drupal\Core\Entity\EntityInterface + * @return \Drupal\Core\Entity\EntityInterface * The entity object, or NULL if there is no entity with the given id. * * @see \Drupal\Core\Entity\EntityManager @@ -216,7 +216,7 @@ function entity_load($entity_type, $id, $reset = FALSE) { * @param int $revision_id * The id of the entity to load. * - * @return Drupal\Core\Entity\EntityInterface + * @return \Drupal\Core\Entity\EntityInterface * The entity object, or FALSE if there is no entity with the given revision * id. * @@ -259,7 +259,7 @@ function entity_revision_delete($entity_type, $revision_id) { * @return EntityInterface|FALSE * The entity object, or FALSE if there is no entity with the given UUID. * - * @throws Drupal\Core\Entity\EntityStorageException + * @throws \Drupal\Core\Entity\EntityStorageException * Thrown in case the requested entity type does not support UUIDs. * * @see \Drupal\Core\Entity\EntityManager @@ -383,7 +383,7 @@ function entity_delete_multiple($entity_type, array $ids) { * An array of values to set, keyed by property name. If the entity type has * bundles the bundle key has to be specified. * - * @return Drupal\Core\Entity\EntityInterface + * @return \Drupal\Core\Entity\EntityInterface * A new entity object. */ function entity_create($entity_type, array $values) { @@ -395,7 +395,7 @@ function entity_create($entity_type, array $values) { /** * Gets the entity controller class for an entity type. * - * @return Drupal\Core\Entity\EntityStorageControllerInterface + * @return \Drupal\Core\Entity\EntityStorageControllerInterface * * @deprecated Use \Drupal\Core\Entity\EntityManager::getStorageController(). */ @@ -410,7 +410,7 @@ function entity_get_controller($entity_type) { * This is a wrapper for Drupal\Core\Entity\EntityInterface::label(). This function * should only be used as a callback, e.g. for menu title callbacks. * - * @param Drupal\Core\Entity\EntityInterface $entity + * @param \Drupal\Core\Entity\EntityInterface $entity * The entity for which to generate the label. * @param $langcode * (optional) The language code of the language that should be used for @@ -420,7 +420,7 @@ function entity_get_controller($entity_type) { * @return * The label of the entity, or NULL if there is no label defined. * - * @see Drupal\Core\Entity\EntityInterface::label() + * @see \Drupal\Core\Entity\EntityInterface::label() */ function entity_page_label(EntityInterface $entity, $langcode = NULL) { return $entity->label($langcode); @@ -460,7 +460,7 @@ function entity_access_controller($entity_type) { * identifying the controlled form. Defaults to 'default' which is the usual * create/edit form. * - * @return Drupal\Core\Entity\EntityFormControllerInterface + * @return \Drupal\Core\Entity\EntityFormControllerInterface * An entity form controller instance. * * @deprecated Use \Drupal\Core\Entity\EntityManager::getFormController(). @@ -541,7 +541,7 @@ function entity_get_form(EntityInterface $entity, $operation = 'default', array * @param string $entity_type * The type of the entity. * - * @return Drupal\Core\Entity\EntityListControllerInterface + * @return \Drupal\Core\Entity\EntityListControllerInterface * An entity list controller. * * @deprecated Use \Drupal\Core\Entity\EntityManager::getFormController(). @@ -557,7 +557,7 @@ function entity_list_controller($entity_type) { * @param string $entity_type * The type of the entity. * - * @return Drupal\Core\Entity\EntityRenderControllerInterface + * @return \Drupal\Core\Entity\EntityRenderControllerInterface * An entity render controller. * * @deprecated Use \Drupal\Core\Entity\EntityManager::getFormController(). @@ -570,7 +570,7 @@ function entity_render_controller($entity_type) { /** * Returns the render array for an entity. * - * @param Drupal\Core\Entity\EntityInterface $entity + * @param \Drupal\Core\Entity\EntityInterface $entity * The entity to be rendered. * @param string $view_mode * The view mode that should be used to display the entity. diff --git a/core/includes/file.inc b/core/includes/file.inc index bb537fb19d0..788f2130182 100644 --- a/core/includes/file.inc +++ b/core/includes/file.inc @@ -1350,7 +1350,7 @@ function drupal_unlink($uri, $context = NULL) { * @return string|false * The absolute local filepath (with no symbolic links), or FALSE on failure. * - * @see Drupal\Core\StreamWrapper\StreamWrapperInterface::realpath() + * @see \Drupal\Core\StreamWrapper\StreamWrapperInterface::realpath() * @see http://php.net/manual/function.realpath.php * @ingroup php_wrappers */ diff --git a/core/includes/install.core.inc b/core/includes/install.core.inc index 4c3c3403856..ebbcb1bc5b2 100644 --- a/core/includes/install.core.inc +++ b/core/includes/install.core.inc @@ -1467,7 +1467,7 @@ function install_find_translations() { /** * Build a file translation service for installation. * - * @return Drupal\Core\StringTranslation\Translator\FileTranslation + * @return \Drupal\Core\StringTranslation\Translator\FileTranslation * File translation service for the installer. */ function install_file_translation_service() { diff --git a/core/includes/mail.inc b/core/includes/mail.inc index 75b80c656ea..cb5af1a1c6c 100644 --- a/core/includes/mail.inc +++ b/core/includes/mail.inc @@ -206,7 +206,7 @@ function drupal_mail($module, $key, $to, $langcode, $params = array(), $from = N * A key to identify the e-mail sent. The final e-mail ID for the e-mail * alter hook in drupal_mail() would have been {$module}_{$key}. * - * @return Drupal\Core\Mail\MailInterface + * @return \Drupal\Core\Mail\MailInterface * An object that implements Drupal\Core\Mail\MailInterface. * * @throws \Exception diff --git a/core/includes/module.inc b/core/includes/module.inc index f6199bf1e57..247aaaca165 100644 --- a/core/includes/module.inc +++ b/core/includes/module.inc @@ -321,7 +321,7 @@ function module_set_weight($module, $weight) { ->save(); // Prepare the new module list, sorted by weight, including filenames. - // @see Drupal\Core\Extension\ModuleHandler::install() + // @see \Drupal\Core\Extension\ModuleHandler::install() $module_handler = \Drupal::moduleHandler(); $current_module_filenames = $module_handler->getModuleList(); $current_modules = array_fill_keys(array_keys($current_module_filenames), 0); diff --git a/core/includes/update.inc b/core/includes/update.inc index 79090551163..0ae9b99d3c3 100644 --- a/core/includes/update.inc +++ b/core/includes/update.inc @@ -1054,7 +1054,7 @@ function update_get_update_list() { * - 'module': The name of the module that this update function belongs to. * - 'number': The number of this update function within that module. * - * @see Drupal\Component\Graph\Graph::searchAndSort() + * @see \Drupal\Component\Graph\Graph::searchAndSort() */ function update_resolve_dependencies($starting_updates) { // Obtain a dependency graph for the requested update functions. @@ -1170,7 +1170,7 @@ function update_get_update_function_list($starting_updates) { * - 'module': The name of the module that this update function belongs to. * - 'number': The number of this update function within that module. * - * @see Drupal\Component\Graph\Graph::searchAndSort() + * @see \Drupal\Component\Graph\Graph::searchAndSort() * @see update_resolve_dependencies() */ function update_build_dependency_graph($update_functions) { diff --git a/core/lib/Drupal/Component/Archiver/ArchiverInterface.php b/core/lib/Drupal/Component/Archiver/ArchiverInterface.php index 96d99928aaf..1aa363ab2af 100644 --- a/core/lib/Drupal/Component/Archiver/ArchiverInterface.php +++ b/core/lib/Drupal/Component/Archiver/ArchiverInterface.php @@ -19,7 +19,7 @@ interface ArchiverInterface { * The full system path of the file or directory to add. Only local files * and directories are supported. * - * @return Drupal\Component\Archiver\ArchiverInterface + * @return \Drupal\Component\Archiver\ArchiverInterface * The called object. */ public function add($file_path); @@ -30,7 +30,7 @@ interface ArchiverInterface { * @param string $path * The file name relative to the root of the archive to remove. * - * @return Drupal\Component\Archiver\ArchiverInterface + * @return \Drupal\Component\Archiver\ArchiverInterface * The called object. */ public function remove($path); @@ -45,7 +45,7 @@ interface ArchiverInterface { * relative to the root of the archive. If not specified, all files * in the archive will be extracted. * - * @return Drupal\Component\Archiver\ArchiverInterface + * @return \Drupal\Component\Archiver\ArchiverInterface * The called object. */ public function extract($path, array $files = array()); diff --git a/core/lib/Drupal/Component/Archiver/Tar.php b/core/lib/Drupal/Component/Archiver/Tar.php index f06f3e07af6..b1c00591afc 100644 --- a/core/lib/Drupal/Component/Archiver/Tar.php +++ b/core/lib/Drupal/Component/Archiver/Tar.php @@ -15,7 +15,7 @@ class Tar implements ArchiverInterface { /** * The underlying ArchiveTar instance that does the heavy lifting. * - * @var Drupal\Component\Archiver\ArchiveTar + * @var \Drupal\Component\Archiver\ArchiveTar */ protected $tar; @@ -27,7 +27,7 @@ class Tar implements ArchiverInterface { * are supported. If the file does not yet exist, it will be created if * appropriate. * - * @throws Drupal\Component\Archiver\ArchiverException + * @throws \Drupal\Component\Archiver\ArchiverException */ public function __construct($file_path) { $this->tar = new ArchiveTar($file_path); diff --git a/core/lib/Drupal/Component/Archiver/Zip.php b/core/lib/Drupal/Component/Archiver/Zip.php index 6cc118273aa..67ea76d5e99 100644 --- a/core/lib/Drupal/Component/Archiver/Zip.php +++ b/core/lib/Drupal/Component/Archiver/Zip.php @@ -29,7 +29,7 @@ class Zip implements ArchiverInterface { * are supported. If the file does not yet exist, it will be created if * appropriate. * - * @throws Drupal\Component\Archiver\ArchiverException + * @throws \Drupal\Component\Archiver\ArchiverException */ public function __construct($file_path) { $this->zip = new \ZipArchive(); diff --git a/core/lib/Drupal/Component/Gettext/PoMetadataInterface.php b/core/lib/Drupal/Component/Gettext/PoMetadataInterface.php index 18ae1fc11d9..fe22e5f3ee3 100644 --- a/core/lib/Drupal/Component/Gettext/PoMetadataInterface.php +++ b/core/lib/Drupal/Component/Gettext/PoMetadataInterface.php @@ -12,8 +12,8 @@ use Drupal\Component\Gettext\PoHeader; /** * Methods required for both reader and writer implementations. * - * @see Drupal\Component\Gettext\PoReaderInterface - * @see Drupal\Component\Gettext\PoWriterInterface + * @see \Drupal\Component\Gettext\PoReaderInterface + * @see \Drupal\Component\Gettext\PoWriterInterface */ interface PoMetadataInterface { @@ -36,7 +36,7 @@ interface PoMetadataInterface { /** * Set header metadata. * - * @param Drupal\Component\Gettext\PoHeader $header + * @param \Drupal\Component\Gettext\PoHeader $header * Header object representing metadata in a PO header. */ public function setHeader(PoHeader $header); @@ -44,7 +44,7 @@ interface PoMetadataInterface { /** * Get header metadata. * - * @return Drupal\Component\Gettext\PoHeader $header + * @return \Drupal\Component\Gettext\PoHeader $header * Header instance representing metadata in a PO header. */ public function getHeader(); diff --git a/core/lib/Drupal/Component/Gettext/PoReaderInterface.php b/core/lib/Drupal/Component/Gettext/PoReaderInterface.php index 5e45e4adc6d..71358189ea0 100644 --- a/core/lib/Drupal/Component/Gettext/PoReaderInterface.php +++ b/core/lib/Drupal/Component/Gettext/PoReaderInterface.php @@ -17,7 +17,7 @@ interface PoReaderInterface extends PoMetadataInterface { /** * Reads and returns a PoItem (source/translation pair). * - * @return Drupal\Component\Gettext\PoItem + * @return \Drupal\Component\Gettext\PoItem * Wrapper for item data instance. */ public function readItem(); diff --git a/core/lib/Drupal/Component/Gettext/PoStreamReader.php b/core/lib/Drupal/Component/Gettext/PoStreamReader.php index 61c608389f0..cc80c1a354d 100644 --- a/core/lib/Drupal/Component/Gettext/PoStreamReader.php +++ b/core/lib/Drupal/Component/Gettext/PoStreamReader.php @@ -87,14 +87,14 @@ class PoStreamReader implements PoStreamInterface, PoReaderInterface { /** * The PO stream header. * - * @var Drupal\Component\Gettext\PoHeader + * @var \Drupal\Component\Gettext\PoHeader */ private $_header; /** * Object wrapper for the last read source/translation pair. * - * @var Drupal\Component\Gettext\PoItem + * @var \Drupal\Component\Gettext\PoItem */ private $_last_item; diff --git a/core/lib/Drupal/Component/Gettext/PoStreamWriter.php b/core/lib/Drupal/Component/Gettext/PoStreamWriter.php index d066307d83f..84076ff8759 100644 --- a/core/lib/Drupal/Component/Gettext/PoStreamWriter.php +++ b/core/lib/Drupal/Component/Gettext/PoStreamWriter.php @@ -28,7 +28,7 @@ class PoStreamWriter implements PoWriterInterface, PoStreamInterface { /** * The Gettext PO header. * - * @var Drupal\Component\Gettext\PoHeader + * @var \Drupal\Component\Gettext\PoHeader */ private $_header; @@ -42,7 +42,7 @@ class PoStreamWriter implements PoWriterInterface, PoStreamInterface { /** * Get the PO header of the current stream. * - * @return Drupal\Component\Gettext\PoHeader + * @return \Drupal\Component\Gettext\PoHeader * The Gettext PO header. */ public function getHeader() { @@ -52,7 +52,7 @@ class PoStreamWriter implements PoWriterInterface, PoStreamInterface { /** * Set the PO header for the current stream. * - * @param Drupal\Component\Gettext\PoHeader $header + * @param \Drupal\Component\Gettext\PoHeader $header * The Gettext PO header to set. */ public function setHeader(PoHeader $header) { diff --git a/core/lib/Drupal/Component/Graph/Graph.php b/core/lib/Drupal/Component/Graph/Graph.php index 8fc7d210c8f..726c72334f3 100644 --- a/core/lib/Drupal/Component/Graph/Graph.php +++ b/core/lib/Drupal/Component/Graph/Graph.php @@ -101,7 +101,7 @@ class Graph { * @param $component * The component of the last vertex. * - * @see Drupal\Component\Graph\Graph::searchAndSort() + * @see \Drupal\Component\Graph\Graph::searchAndSort() */ protected function depthFirstSearch(&$state, $start, &$component = NULL) { // Assign new component for each new vertex, i.e. when not called recursively. diff --git a/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php b/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php index 6da69402687..4e99bd98635 100644 --- a/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php +++ b/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php @@ -133,7 +133,7 @@ class DerivativeDiscoveryDecorator implements DiscoveryInterface { * @param array $base_definition * The base plugin definition to build derivatives. * - * @return Drupal\Component\Plugin\Discovery\DerivativeInterface|null + * @return \Drupal\Component\Plugin\Discovery\DerivativeInterface|null * A DerivativeInterface or null if none exists for the plugin. */ protected function getDerivativeFetcher($base_plugin_id, array $base_definition) { diff --git a/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php b/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php index d049814a891..40cb49b8415 100644 --- a/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php +++ b/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php @@ -26,7 +26,7 @@ class DefaultFactory implements FactoryInterface { * The plugin definition includes the plugin class and possibly other * information necessary for proper instantiation. * - * @var Drupal\Component\Plugin\Discovery\DiscoveryInterface + * @var \Drupal\Component\Plugin\Discovery\DiscoveryInterface */ protected $discovery; diff --git a/core/lib/Drupal/Component/Plugin/PluginManagerInterface.php b/core/lib/Drupal/Component/Plugin/PluginManagerInterface.php index f1e31049baf..ec82dc35e6a 100644 --- a/core/lib/Drupal/Component/Plugin/PluginManagerInterface.php +++ b/core/lib/Drupal/Component/Plugin/PluginManagerInterface.php @@ -25,7 +25,7 @@ use Drupal\Component\Plugin\Mapper\MapperInterface; * To follow this pattern, plugin managers can extend from the PluginManagerBase * class, which contains the proxying logic. * - * @see Drupal\Component\Plugin\PluginManagerBase + * @see \Drupal\Component\Plugin\PluginManagerBase */ interface PluginManagerInterface extends DiscoveryInterface, FactoryInterface, MapperInterface { } diff --git a/core/lib/Drupal/Core/Asset/CssOptimizer.php b/core/lib/Drupal/Core/Asset/CssOptimizer.php index bfc6e99e379..a6a79e41d99 100644 --- a/core/lib/Drupal/Core/Asset/CssOptimizer.php +++ b/core/lib/Drupal/Core/Asset/CssOptimizer.php @@ -127,7 +127,7 @@ class CssOptimizer implements AssetOptimizerInterface { * @return * The contents of the CSS file at $matches[1], with corrected paths. * - * @see Drupal\Core\Asset\AssetOptimizerInterface::loadFile() + * @see \Drupal\Core\Asset\AssetOptimizerInterface::loadFile() */ protected function loadNestedFile($matches) { $filename = $matches[1]; diff --git a/core/lib/Drupal/Core/Cache/BackendChain.php b/core/lib/Drupal/Core/Cache/BackendChain.php index 5df1a085a7f..25d9b14ae78 100644 --- a/core/lib/Drupal/Core/Cache/BackendChain.php +++ b/core/lib/Drupal/Core/Cache/BackendChain.php @@ -45,7 +45,7 @@ class BackendChain implements CacheBackendInterface { * @param CacheBackendInterface $backend * The cache backend to be appended to the cache chain. * - * @return Drupal\Core\Cache\BackendChain + * @return \Drupal\Core\Cache\BackendChain * The called object. */ public function appendBackend(CacheBackendInterface $backend) { @@ -60,7 +60,7 @@ class BackendChain implements CacheBackendInterface { * @param CacheBackendInterface $backend * The backend to be prepended to the cache chain. * - * @return Drupal\Core\Cache\BackendChain + * @return \Drupal\Core\Cache\BackendChain * The called object. */ public function prependBackend(CacheBackendInterface $backend) { diff --git a/core/lib/Drupal/Core/Cache/CacheBackendInterface.php b/core/lib/Drupal/Core/Cache/CacheBackendInterface.php index a054604b100..72c93d2f218 100644 --- a/core/lib/Drupal/Core/Cache/CacheBackendInterface.php +++ b/core/lib/Drupal/Core/Cache/CacheBackendInterface.php @@ -67,7 +67,7 @@ namespace Drupal\Core\Cache; * item has been updated, all future requests will use the updated value. * * @see cache() - * @see Drupal\Core\Cache\DatabaseBackend + * @see \Drupal\Core\Cache\DatabaseBackend */ interface CacheBackendInterface { @@ -92,7 +92,7 @@ interface CacheBackendInterface { * @return object|false * The cache item or FALSE on failure. * - * @see Drupal\Core\Cache\CacheBackendInterface::getMultiple() + * @see \Drupal\Core\Cache\CacheBackendInterface::getMultiple() */ public function get($cid, $allow_invalid = FALSE); @@ -114,7 +114,7 @@ interface CacheBackendInterface { * @return array * An array of cache item objects indexed by cache ID. * - * @see Drupal\Core\Cache\CacheBackendInterface::get() + * @see \Drupal\Core\Cache\CacheBackendInterface::get() */ public function getMultiple(&$cids, $allow_invalid = FALSE); @@ -143,8 +143,8 @@ interface CacheBackendInterface { * a node, both the node ID and the author's user ID might be passed in as * tags. For example array('node' => array(123), 'user' => array(92)). * - * @see Drupal\Core\Cache\CacheBackendInterface::get() - * @see Drupal\Core\Cache\CacheBackendInterface::getMultiple() + * @see \Drupal\Core\Cache\CacheBackendInterface::get() + * @see \Drupal\Core\Cache\CacheBackendInterface::getMultiple() */ public function set($cid, $data, $expire = CacheBackendInterface::CACHE_PERMANENT, array $tags = array()); @@ -159,10 +159,10 @@ interface CacheBackendInterface { * @param string $cid * The cache ID to delete. * - * @see Drupal\Core\Cache\CacheBackendInterface::invalidate() - * @see Drupal\Core\Cache\CacheBackendInterface::deleteMultiple() - * @see Drupal\Core\Cache\CacheBackendInterface::deleteTags() - * @see Drupal\Core\Cache\CacheBackendInterface::deleteAll() + * @see \Drupal\Core\Cache\CacheBackendInterface::invalidate() + * @see \Drupal\Core\Cache\CacheBackendInterface::deleteMultiple() + * @see \Drupal\Core\Cache\CacheBackendInterface::deleteTags() + * @see \Drupal\Core\Cache\CacheBackendInterface::deleteAll() */ public function delete($cid); @@ -178,10 +178,10 @@ interface CacheBackendInterface { * @param array $cids * An array of cache IDs to delete. * - * @see Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple() - * @see Drupal\Core\Cache\CacheBackendInterface::delete() - * @see Drupal\Core\Cache\CacheBackendInterface::deleteTags() - * @see Drupal\Core\Cache\CacheBackendInterface::deleteAll() + * @see \Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple() + * @see \Drupal\Core\Cache\CacheBackendInterface::delete() + * @see \Drupal\Core\Cache\CacheBackendInterface::deleteTags() + * @see \Drupal\Core\Cache\CacheBackendInterface::deleteAll() */ public function deleteMultiple(array $cids); @@ -198,21 +198,21 @@ interface CacheBackendInterface { * Associative array of tags, in the same format that is passed to * CacheBackendInterface::set(). * - * @see Drupal\Core\Cache\CacheBackendInterface::set() - * @see Drupal\Core\Cache\CacheBackendInterface::invalidateTags() - * @see Drupal\Core\Cache\CacheBackendInterface::delete() - * @see Drupal\Core\Cache\CacheBackendInterface::deleteMultiple() - * @see Drupal\Core\Cache\CacheBackendInterface::deleteAll() + * @see \Drupal\Core\Cache\CacheBackendInterface::set() + * @see \Drupal\Core\Cache\CacheBackendInterface::invalidateTags() + * @see \Drupal\Core\Cache\CacheBackendInterface::delete() + * @see \Drupal\Core\Cache\CacheBackendInterface::deleteMultiple() + * @see \Drupal\Core\Cache\CacheBackendInterface::deleteAll() */ public function deleteTags(array $tags); /** * Deletes all cache items in a bin. * - * @see Drupal\Core\Cache\CacheBackendInterface::invalidateAll() - * @see Drupal\Core\Cache\CacheBackendInterface::delete() - * @see Drupal\Core\Cache\CacheBackendInterface::deleteMultiple() - * @see Drupal\Core\Cache\CacheBackendInterface::deleteTags() + * @see \Drupal\Core\Cache\CacheBackendInterface::invalidateAll() + * @see \Drupal\Core\Cache\CacheBackendInterface::delete() + * @see \Drupal\Core\Cache\CacheBackendInterface::deleteMultiple() + * @see \Drupal\Core\Cache\CacheBackendInterface::deleteTags() */ public function deleteAll(); @@ -225,10 +225,10 @@ interface CacheBackendInterface { * @param string $cid * The cache ID to invalidate. * - * @see Drupal\Core\Cache\CacheBackendInterface::delete() - * @see Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple() - * @see Drupal\Core\Cache\CacheBackendInterface::invalidateTags() - * @see Drupal\Core\Cache\CacheBackendInterface::invalidateAll() + * @see \Drupal\Core\Cache\CacheBackendInterface::delete() + * @see \Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple() + * @see \Drupal\Core\Cache\CacheBackendInterface::invalidateTags() + * @see \Drupal\Core\Cache\CacheBackendInterface::invalidateAll() */ public function invalidate($cid); @@ -241,10 +241,10 @@ interface CacheBackendInterface { * @param string $cids * An array of cache IDs to invalidate. * - * @see Drupal\Core\Cache\CacheBackendInterface::deleteMultiple() - * @see Drupal\Core\Cache\CacheBackendInterface::invalidate() - * @see Drupal\Core\Cache\CacheBackendInterface::invalidateTags() - * @see Drupal\Core\Cache\CacheBackendInterface::invalidateAll() + * @see \Drupal\Core\Cache\CacheBackendInterface::deleteMultiple() + * @see \Drupal\Core\Cache\CacheBackendInterface::invalidate() + * @see \Drupal\Core\Cache\CacheBackendInterface::invalidateTags() + * @see \Drupal\Core\Cache\CacheBackendInterface::invalidateAll() */ public function invalidateMultiple(array $cids); @@ -255,11 +255,11 @@ interface CacheBackendInterface { * Associative array of tags, in the same format that is passed to * CacheBackendInterface::set(). * - * @see Drupal\Core\Cache\CacheBackendInterface::set() - * @see Drupal\Core\Cache\CacheBackendInterface::deleteTags() - * @see Drupal\Core\Cache\CacheBackendInterface::invalidate() - * @see Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple() - * @see Drupal\Core\Cache\CacheBackendInterface::invalidateAll() + * @see \Drupal\Core\Cache\CacheBackendInterface::set() + * @see \Drupal\Core\Cache\CacheBackendInterface::deleteTags() + * @see \Drupal\Core\Cache\CacheBackendInterface::invalidate() + * @see \Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple() + * @see \Drupal\Core\Cache\CacheBackendInterface::invalidateAll() */ public function invalidateTags(array $tags); @@ -272,10 +272,10 @@ interface CacheBackendInterface { * @param string $cids * An array of cache IDs to invalidate. * - * @see Drupal\Core\Cache\CacheBackendInterface::deleteAll() - * @see Drupal\Core\Cache\CacheBackendInterface::invalidate() - * @see Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple() - * @see Drupal\Core\Cache\CacheBackendInterface::invalidateTags() + * @see \Drupal\Core\Cache\CacheBackendInterface::deleteAll() + * @see \Drupal\Core\Cache\CacheBackendInterface::invalidate() + * @see \Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple() + * @see \Drupal\Core\Cache\CacheBackendInterface::invalidateTags() */ public function invalidateAll(); diff --git a/core/lib/Drupal/Core/Cache/DatabaseBackend.php b/core/lib/Drupal/Core/Cache/DatabaseBackend.php index a45d33833f4..575fd345c99 100644 --- a/core/lib/Drupal/Core/Cache/DatabaseBackend.php +++ b/core/lib/Drupal/Core/Cache/DatabaseBackend.php @@ -360,7 +360,7 @@ class DatabaseBackend implements CacheBackendInterface { * @return int * Sum of all invalidations. * - * @see Drupal\Core\Cache\DatabaseBackend::flattenTags() + * @see \Drupal\Core\Cache\DatabaseBackend::flattenTags() */ protected function checksumTags($flat_tags) { $tag_cache = &drupal_static('Drupal\Core\Cache\CacheBackendInterface::tagCache', array()); diff --git a/core/lib/Drupal/Core/Config/CachedStorage.php b/core/lib/Drupal/Core/Config/CachedStorage.php index 24b74168480..beb8c09a1d6 100644 --- a/core/lib/Drupal/Core/Config/CachedStorage.php +++ b/core/lib/Drupal/Core/Config/CachedStorage.php @@ -22,14 +22,14 @@ class CachedStorage implements StorageInterface, StorageCacheInterface { /** * The configuration storage to be cached. * - * @var Drupal\Core\Config\StorageInterface + * @var \Drupal\Core\Config\StorageInterface */ protected $storage; /** * The instantiated Cache backend. * - * @var Drupal\Core\Cache\CacheBackendInterface + * @var \Drupal\Core\Cache\CacheBackendInterface */ protected $cache; @@ -43,9 +43,9 @@ class CachedStorage implements StorageInterface, StorageCacheInterface { /** * Constructs a new CachedStorage controller. * - * @param Drupal\Core\Config\StorageInterface $storage + * @param \Drupal\Core\Config\StorageInterface $storage * A configuration storage controller to be cached. - * @param Drupal\Core\Cache\CacheBackendInterface $cache + * @param \Drupal\Core\Cache\CacheBackendInterface $cache * A cache backend instance to use for caching. */ public function __construct(StorageInterface $storage, CacheBackendInterface $cache) { @@ -94,7 +94,7 @@ class CachedStorage implements StorageInterface, StorageCacheInterface { $list = array(); // The names array is passed by reference and will only contain the names of // config object not found after the method call. - // @see Drupal\Core\Cache\CacheBackendInterface::getMultiple() + // @see \Drupal\Core\Cache\CacheBackendInterface::getMultiple() $cached_list = $this->cache->getMultiple($names); if (!empty($names)) { diff --git a/core/lib/Drupal/Core/Config/Config.php b/core/lib/Drupal/Core/Config/Config.php index 02afbd17aca..ca0cfc3160a 100644 --- a/core/lib/Drupal/Core/Config/Config.php +++ b/core/lib/Drupal/Core/Config/Config.php @@ -59,7 +59,7 @@ class Config { /** * The storage used to load and save this configuration object. * - * @var Drupal\Core\Config\StorageInterface + * @var \Drupal\Core\Config\StorageInterface */ protected $storage; @@ -97,7 +97,7 @@ class Config { /** * Initializes a configuration object. * - * @return Drupal\Core\Config\Config + * @return \Drupal\Core\Config\Config * The configuration object. */ public function init() { @@ -113,7 +113,7 @@ class Config { * @param array $data * Array of loaded data for this configuration object. * - * @return Drupal\Core\Config\Config + * @return \Drupal\Core\Config\Config * The configuration object. */ public function initWithData(array $data) { @@ -139,7 +139,7 @@ class Config { /** * Sets the name of this configuration object. * - * @return Drupal\Core\Config\Config + * @return \Drupal\Core\Config\Config * The configuration object. */ public function setName($name) { @@ -246,7 +246,7 @@ class Config { * @param array $data * The new configuration data. * - * @return Drupal\Core\Config\Config + * @return \Drupal\Core\Config\Config * The configuration object. */ public function setData(array $data) { @@ -266,7 +266,7 @@ class Config { * @param array $data * The new configuration data. * - * @return Drupal\Core\Config\Config + * @return \Drupal\Core\Config\Config * The configuration object. */ protected function replaceData(array $data) { @@ -283,7 +283,7 @@ class Config { * @param array $data * The overridden values of the configuration data. * - * @return Drupal\Core\Config\Config + * @return \Drupal\Core\Config\Config * The configuration object. */ public function setOverride(array $data) { @@ -297,7 +297,7 @@ class Config { * * Merges overridden configuration data into the original data. * - * @return Drupal\Core\Config\Config + * @return \Drupal\Core\Config\Config * The configuration object. */ protected function setOverriddenData() { @@ -315,7 +315,7 @@ class Config { * This method should be called after the original data or the overridden data * has been changed. * - * @return Drupal\Core\Config\Config + * @return \Drupal\Core\Config\Config * The configuration object. */ protected function resetOverriddenData() { @@ -331,7 +331,7 @@ class Config { * @param string $value * Value to associate with identifier. * - * @return Drupal\Core\Config\Config + * @return \Drupal\Core\Config\Config * The configuration object. */ public function set($key, $value) { @@ -400,7 +400,7 @@ class Config { * @param string $key * Name of the key whose value should be unset. * - * @return Drupal\Core\Config\Config + * @return \Drupal\Core\Config\Config * The configuration object. */ public function clear($key) { @@ -421,7 +421,7 @@ class Config { /** * Loads configuration data into this object. * - * @return Drupal\Core\Config\Config + * @return \Drupal\Core\Config\Config * The configuration object. */ public function load() { @@ -443,7 +443,7 @@ class Config { /** * Saves the configuration object. * - * @return Drupal\Core\Config\Config + * @return \Drupal\Core\Config\Config * The configuration object. */ public function save() { @@ -461,7 +461,7 @@ class Config { /** * Deletes the configuration object. * - * @return Drupal\Core\Config\Config + * @return \Drupal\Core\Config\Config * The configuration object. */ public function delete() { diff --git a/core/lib/Drupal/Core/Config/ConfigEvent.php b/core/lib/Drupal/Core/Config/ConfigEvent.php index 4d49312a580..4cfac2edb16 100644 --- a/core/lib/Drupal/Core/Config/ConfigEvent.php +++ b/core/lib/Drupal/Core/Config/ConfigEvent.php @@ -10,7 +10,7 @@ class ConfigEvent extends Event { /** * Configuration object. * - * @var Drupal\Core\Config\Config + * @var \Drupal\Core\Config\Config */ protected $config; diff --git a/core/lib/Drupal/Core/Config/ConfigFactory.php b/core/lib/Drupal/Core/Config/ConfigFactory.php index fe9f4cb96ba..60b3d0d352a 100644 --- a/core/lib/Drupal/Core/Config/ConfigFactory.php +++ b/core/lib/Drupal/Core/Config/ConfigFactory.php @@ -15,18 +15,18 @@ use Drupal\Core\Config\Context\ContextInterface; * The configuration object factory instantiates a Config object for each * configuration object name that is accessed and returns it to callers. * - * @see Drupal\Core\Config\Config + * @see \Drupal\Core\Config\Config * * Each configuration object gets a storage controller object injected, which * is used for reading and writing the configuration data. * - * @see Drupal\Core\Config\StorageInterface + * @see \Drupal\Core\Config\StorageInterface * * A configuration context is an object containing parameters that will be * available to the configuration plug-ins for them to customize the * configuration data in different ways. * - * @see Drupal\Core\Config\Context\ContextInterface + * @see \Drupal\Core\Config\Context\ContextInterface */ class ConfigFactory { diff --git a/core/lib/Drupal/Core/Config/Context/ContextInterface.php b/core/lib/Drupal/Core/Config/Context/ContextInterface.php index e7e4904e20b..e37d2d0e1cc 100644 --- a/core/lib/Drupal/Core/Config/Context/ContextInterface.php +++ b/core/lib/Drupal/Core/Config/Context/ContextInterface.php @@ -16,8 +16,8 @@ use Drupal\Core\Config\Config; * by the configuration object for storage operations and notifications * and contextual data to be used by configuration event listeners. * - * @see Drupal\Core\Config\Config - * @see Drupal\Core\Config\ConfigFactory + * @see \Drupal\Core\Config\Config + * @see \Drupal\Core\Config\ConfigFactory * @see \Drupal::config() */ interface ContextInterface { diff --git a/core/lib/Drupal/Core/Config/DatabaseStorage.php b/core/lib/Drupal/Core/Config/DatabaseStorage.php index 78e162907d0..f1363e6e1c9 100644 --- a/core/lib/Drupal/Core/Config/DatabaseStorage.php +++ b/core/lib/Drupal/Core/Config/DatabaseStorage.php @@ -18,7 +18,7 @@ class DatabaseStorage implements StorageInterface { /** * The database connection. * - * @var Drupal\Core\Database\Connection + * @var \Drupal\Core\Database\Connection */ protected $connection; @@ -39,7 +39,7 @@ class DatabaseStorage implements StorageInterface { /** * Constructs a new DatabaseStorage controller. * - * @param Drupal\Core\Database\Connection $connection + * @param \Drupal\Core\Database\Connection $connection * A Database connection to use for reading and writing configuration data. * @param string $table * A database table name to store configuration data in. @@ -65,7 +65,7 @@ class DatabaseStorage implements StorageInterface { * Implements Drupal\Core\Config\StorageInterface::read(). * * @throws PDOException - * @throws Drupal\Core\Database\DatabaseExceptionWrapper + * @throws \Drupal\Core\Database\DatabaseExceptionWrapper * Only thrown in case $this->options['throw_exception'] is TRUE. */ public function read($name) { @@ -171,7 +171,7 @@ class DatabaseStorage implements StorageInterface { * Implements Drupal\Core\Config\StorageInterface::listAll(). * * @throws PDOException - * @throws Drupal\Core\Database\DatabaseExceptionWrapper + * @throws \Drupal\Core\Database\DatabaseExceptionWrapper * Only thrown in case $this->options['throw_exception'] is TRUE. */ public function listAll($prefix = '') { @@ -184,7 +184,7 @@ class DatabaseStorage implements StorageInterface { * Implements Drupal\Core\Config\StorageInterface::deleteAll(). * * @throws PDOException - * @throws Drupal\Core\Database\DatabaseExceptionWrapper + * @throws \Drupal\Core\Database\DatabaseExceptionWrapper * Only thrown in case $this->options['throw_exception'] is TRUE. */ public function deleteAll($prefix = '') { diff --git a/core/lib/Drupal/Core/Config/FileStorage.php b/core/lib/Drupal/Core/Config/FileStorage.php index 6e428b34585..75209f5d33d 100644 --- a/core/lib/Drupal/Core/Config/FileStorage.php +++ b/core/lib/Drupal/Core/Config/FileStorage.php @@ -106,7 +106,7 @@ class FileStorage implements StorageInterface { * Implements Drupal\Core\Config\StorageInterface::write(). * * @throws Symfony\Component\Yaml\Exception\DumpException - * @throws Drupal\Core\Config\StorageException + * @throws \Drupal\Core\Config\StorageException */ public function write($name, array $data) { $data = $this->encode($data); diff --git a/core/lib/Drupal/Core/Config/InstallStorage.php b/core/lib/Drupal/Core/Config/InstallStorage.php index 53612b421ba..e8442ea7a77 100644 --- a/core/lib/Drupal/Core/Config/InstallStorage.php +++ b/core/lib/Drupal/Core/Config/InstallStorage.php @@ -59,7 +59,7 @@ class InstallStorage extends FileStorage { /** * Overrides Drupal\Core\Config\FileStorage::write(). * - * @throws Drupal\Core\Config\StorageException + * @throws \Drupal\Core\Config\StorageException */ public function write($name, array $data) { throw new StorageException('Write operation is not allowed during install.'); @@ -68,7 +68,7 @@ class InstallStorage extends FileStorage { /** * Overrides Drupal\Core\Config\FileStorage::delete(). * - * @throws Drupal\Core\Config\StorageException + * @throws \Drupal\Core\Config\StorageException */ public function delete($name) { throw new StorageException('Delete operation is not allowed during install.'); @@ -77,7 +77,7 @@ class InstallStorage extends FileStorage { /** * Overrides Drupal\Core\Config\FileStorage::rename(). * - * @throws Drupal\Core\Config\StorageException + * @throws \Drupal\Core\Config\StorageException */ public function rename($name, $new_name) { throw new StorageException('Rename operation is not allowed during install.'); @@ -162,7 +162,7 @@ class InstallStorage extends FileStorage { /** * Overrides Drupal\Core\Config\FileStorage::deleteAll(). * - * @throws Drupal\Core\Config\StorageException + * @throws \Drupal\Core\Config\StorageException */ public function deleteAll($prefix = '') { throw new StorageException('Delete operation is not allowed during install.'); diff --git a/core/lib/Drupal/Core/Controller/ExceptionController.php b/core/lib/Drupal/Core/Controller/ExceptionController.php index 2d8adf012f2..66a6215dc7b 100644 --- a/core/lib/Drupal/Core/Controller/ExceptionController.php +++ b/core/lib/Drupal/Core/Controller/ExceptionController.php @@ -24,14 +24,14 @@ class ExceptionController extends ContainerAware { /** * The content negotiation library. * - * @var Drupal\Core\ContentNegotiation + * @var \Drupal\Core\ContentNegotiation */ protected $negotiation; /** * Constructor. * - * @param Drupal\Core\ContentNegotiation $negotiation + * @param \Drupal\Core\ContentNegotiation $negotiation * The content negotiation library to use to determine the correct response * format. */ diff --git a/core/lib/Drupal/Core/Database/StatementEmpty.php b/core/lib/Drupal/Core/Database/StatementEmpty.php index d2903616c48..7a09add85d2 100644 --- a/core/lib/Drupal/Core/Database/StatementEmpty.php +++ b/core/lib/Drupal/Core/Database/StatementEmpty.php @@ -17,7 +17,7 @@ namespace Drupal\Core\Database; * database. Calling code can then treat it the same as if it were an actual * result set that happens to contain no records. * - * @see Drupal\search\SearchQuery + * @see \Drupal\search\SearchQuery */ class StatementEmpty implements \Iterator, StatementInterface { diff --git a/core/lib/Drupal/Core/Database/Transaction.php b/core/lib/Drupal/Core/Database/Transaction.php index f2023add842..68a4fc4ea0c 100644 --- a/core/lib/Drupal/Core/Database/Transaction.php +++ b/core/lib/Drupal/Core/Database/Transaction.php @@ -91,7 +91,7 @@ class Transaction { * transaction has been rolled back or the log messages will be rolled back * too. * - * @see Drupal\Core\Database\Connection::rollback() + * @see \Drupal\Core\Database\Connection::rollback() * @see watchdog_exception() */ public function rollback() { diff --git a/core/lib/Drupal/Core/Datetime/DrupalDateTime.php b/core/lib/Drupal/Core/Datetime/DrupalDateTime.php index 843da4326c4..08bdded821d 100644 --- a/core/lib/Drupal/Core/Datetime/DrupalDateTime.php +++ b/core/lib/Drupal/Core/Datetime/DrupalDateTime.php @@ -15,7 +15,7 @@ use Drupal\Core\Language\Language; * This class extends the basic component and adds in Drupal-specific * handling, like translation of the format() method. * - * @see Drupal/Component/Datetime/DateTimePlus.php + * @see \Drupal/Component/Datetime/DateTimePlus.php */ class DrupalDateTime extends DateTimePlus { diff --git a/core/lib/Drupal/Core/Entity/DatabaseStorageController.php b/core/lib/Drupal/Core/Entity/DatabaseStorageController.php index 4bd89ae9e9a..cae434fdccb 100644 --- a/core/lib/Drupal/Core/Entity/DatabaseStorageController.php +++ b/core/lib/Drupal/Core/Entity/DatabaseStorageController.php @@ -168,7 +168,7 @@ class DatabaseStorageController extends FieldableEntityStorageControllerBase { if (!empty($this->entityInfo['class'])) { // We provide the necessary arguments for PDO to create objects of the // specified entity class. - // @see Drupal\Core\Entity\EntityInterface::__construct() + // @see \Drupal\Core\Entity\EntityInterface::__construct() $query_result->setFetchMode(\PDO::FETCH_CLASS, $this->entityInfo['class'], array(array(), $this->entityType)); } $queried_entities = $query_result->fetchAllAssoc($this->idKey); @@ -221,7 +221,7 @@ class DatabaseStorageController extends FieldableEntityStorageControllerBase { if (!empty($this->entityInfo['class'])) { // We provide the necessary arguments for PDO to create objects of the // specified entity class. - // @see Drupal\Core\Entity\EntityInterface::__construct() + // @see \Drupal\Core\Entity\EntityInterface::__construct() $query_result->setFetchMode(\PDO::FETCH_CLASS, $this->entityInfo['class'], array(array(), $this->entityType)); } $queried_entities = $query_result->fetchAllAssoc($this->idKey); diff --git a/core/lib/Drupal/Core/Entity/EntityFormController.php b/core/lib/Drupal/Core/Entity/EntityFormController.php index 7dcd16adb58..675fa9810b9 100644 --- a/core/lib/Drupal/Core/Entity/EntityFormController.php +++ b/core/lib/Drupal/Core/Entity/EntityFormController.php @@ -144,7 +144,7 @@ class EntityFormController extends FormBase implements EntityFormControllerInter /** * Returns the actual form array to be built. * - * @see Drupal\Core\Entity\EntityFormController::build() + * @see \Drupal\Core\Entity\EntityFormController::build() */ public function form(array $form, array &$form_state) { $entity = $this->entity; diff --git a/core/lib/Drupal/Core/Entity/EntityListController.php b/core/lib/Drupal/Core/Entity/EntityListController.php index 1846b5f37b3..7312e3f50b8 100644 --- a/core/lib/Drupal/Core/Entity/EntityListController.php +++ b/core/lib/Drupal/Core/Entity/EntityListController.php @@ -145,7 +145,7 @@ class EntityListController implements EntityListControllerInterface, EntityContr * @return array * A render array structure of header strings. * - * @see Drupal\Core\Entity\EntityListController::render() + * @see \Drupal\Core\Entity\EntityListController::render() */ public function buildHeader() { $row['operations'] = t('Operations'); @@ -161,7 +161,7 @@ class EntityListController implements EntityListControllerInterface, EntityContr * @return array * A render array structure of fields for this entity. * - * @see Drupal\Core\Entity\EntityListController::render() + * @see \Drupal\Core\Entity\EntityListController::render() */ public function buildRow(EntityInterface $entity) { $row['operations']['data'] = $this->buildOperations($entity); @@ -177,7 +177,7 @@ class EntityListController implements EntityListControllerInterface, EntityContr * @return array * A renderable array of operation links. * - * @see Drupal\Core\Entity\EntityListController::render() + * @see \Drupal\Core\Entity\EntityListController::render() */ public function buildOperations(EntityInterface $entity) { // Retrieve and sort operations. diff --git a/core/lib/Drupal/Core/Entity/Query/QueryInterface.php b/core/lib/Drupal/Core/Entity/Query/QueryInterface.php index 3c2682c6de2..d7110ca734b 100644 --- a/core/lib/Drupal/Core/Entity/Query/QueryInterface.php +++ b/core/lib/Drupal/Core/Entity/Query/QueryInterface.php @@ -62,8 +62,8 @@ interface QueryInterface extends AlterableInterface { * Language code (optional). * * @return \Drupal\Core\Entity\Query\QueryInterface - * @see Drupal\Core\Entity\Query\andConditionGroup - * @see Drupal\Core\Entity\Query\orConditionGroup + * @see \Drupal\Core\Entity\Query\andConditionGroup + * @see \Drupal\Core\Entity\Query\orConditionGroup */ public function condition($field, $value = NULL, $operator = NULL, $langcode = NULL); diff --git a/core/lib/Drupal/Core/FileTransfer/FileTransfer.php b/core/lib/Drupal/Core/FileTransfer/FileTransfer.php index d94e9c74f05..3e25befbda4 100644 --- a/core/lib/Drupal/Core/FileTransfer/FileTransfer.php +++ b/core/lib/Drupal/Core/FileTransfer/FileTransfer.php @@ -76,7 +76,7 @@ abstract class FileTransfer { * @return object * New instance of the appropriate FileTransfer subclass. * - * @throws Drupal\Core\FileTransfer\FileTransferException + * @throws \Drupal\Core\FileTransfer\FileTransferException */ static function factory($jail, $settings) { throw new FileTransferException('FileTransfer::factory() static method not overridden by FileTransfer subclass.'); @@ -137,7 +137,7 @@ abstract class FileTransfer { * @param bool $recursive * Pass TRUE to recursively chmod the entire directory specified in $path. * - * @throws Drupal\Core\FileTransfer\FileTransferException + * @throws \Drupal\Core\FileTransfer\FileTransferException * * @see http://php.net/chmod */ @@ -208,7 +208,7 @@ abstract class FileTransfer { * @param string $path * A path to check against the jail. * - * @throws Drupal\Core\FileTransfer\FileTransferException + * @throws \Drupal\Core\FileTransfer\FileTransferException */ protected final function checkPath($path) { $full_jail = $this->chroot . $this->jail; diff --git a/core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php b/core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php index 93cca8bc1ca..02eec8c7156 100644 --- a/core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php +++ b/core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php @@ -22,7 +22,7 @@ class DatabaseStorageExpirable extends DatabaseStorage implements KeyValueStoreE /** * The connection object for this storage. * - * @var Drupal\Core\Database\Connection + * @var \Drupal\Core\Database\Connection */ protected $connection; diff --git a/core/lib/Drupal/Core/PathProcessor/PathProcessorFront.php b/core/lib/Drupal/Core/PathProcessor/PathProcessorFront.php index d03d19bf19a..b5b3cd17db8 100644 --- a/core/lib/Drupal/Core/PathProcessor/PathProcessorFront.php +++ b/core/lib/Drupal/Core/PathProcessor/PathProcessorFront.php @@ -25,7 +25,7 @@ class PathProcessorFront implements InboundPathProcessorInterface, OutboundPathP /** * Constructs a PathProcessorFront object. * - * @param Drupal\Core\Config\ConfigFactory $config + * @param \Drupal\Core\Config\ConfigFactory $config * A config factory for retrieving the site front page configuration. */ public function __construct(ConfigFactory $config) { diff --git a/core/lib/Drupal/Core/Plugin/Discovery/CacheDecorator.php b/core/lib/Drupal/Core/Plugin/Discovery/CacheDecorator.php index a1991716804..b3f9b5ea383 100644 --- a/core/lib/Drupal/Core/Plugin/Discovery/CacheDecorator.php +++ b/core/lib/Drupal/Core/Plugin/Discovery/CacheDecorator.php @@ -54,7 +54,7 @@ class CacheDecorator implements CachedDiscoveryInterface { /** * The Discovery object being decorated. * - * @var Drupal\Component\Plugin\Discovery\DiscoveryInterface + * @var \Drupal\Component\Plugin\Discovery\DiscoveryInterface */ protected $decorated; @@ -63,7 +63,7 @@ class CacheDecorator implements CachedDiscoveryInterface { * * It uses the DiscoveryInterface object it should decorate. * - * @param Drupal\Component\Plugin\Discovery\DiscoveryInterface $decorated + * @param \Drupal\Component\Plugin\Discovery\DiscoveryInterface $decorated * The object implementing DiscoveryInterface that is being decorated. * @param string $cache_key * The cache identifier used for storage of the definition list. diff --git a/core/lib/Drupal/Core/Plugin/Discovery/InfoHookDecorator.php b/core/lib/Drupal/Core/Plugin/Discovery/InfoHookDecorator.php index 8f599892c81..4733c8cb2e1 100644 --- a/core/lib/Drupal/Core/Plugin/Discovery/InfoHookDecorator.php +++ b/core/lib/Drupal/Core/Plugin/Discovery/InfoHookDecorator.php @@ -17,7 +17,7 @@ class InfoHookDecorator implements DiscoveryInterface { /** * The Discovery object being decorated. * - * @var Drupal\Component\Plugin\Discovery\DiscoveryInterface + * @var \Drupal\Component\Plugin\Discovery\DiscoveryInterface */ protected $decorated; @@ -31,7 +31,7 @@ class InfoHookDecorator implements DiscoveryInterface { /** * Constructs a InfoHookDecorator object. * - * @param Drupal\Component\Plugin\Discovery\DiscoveryInterface $decorated + * @param \Drupal\Component\Plugin\Discovery\DiscoveryInterface $decorated * The object implementing DiscoveryInterface that is being decorated. * @param string $hook * The name of the info hook to be invoked by this discovery instance. diff --git a/core/lib/Drupal/Core/Routing/MatcherDumper.php b/core/lib/Drupal/Core/Routing/MatcherDumper.php index 8c91aa2b2dd..72c0bee6501 100644 --- a/core/lib/Drupal/Core/Routing/MatcherDumper.php +++ b/core/lib/Drupal/Core/Routing/MatcherDumper.php @@ -25,7 +25,7 @@ class MatcherDumper implements MatcherDumperInterface { /** * The database connection to which to dump route information. * - * @var Drupal\Core\Database\Connection + * @var \Drupal\Core\Database\Connection */ protected $connection; @@ -46,7 +46,7 @@ class MatcherDumper implements MatcherDumperInterface { /** * Construct the MatcherDumper. * - * @param Drupal\Core\Database\Connection $connection + * @param \Drupal\Core\Database\Connection $connection * The database connection which will be used to store the route * information. * @param string $table diff --git a/core/lib/Drupal/Core/Routing/RouteProvider.php b/core/lib/Drupal/Core/Routing/RouteProvider.php index 5a79ea87a61..9c660e887a4 100644 --- a/core/lib/Drupal/Core/Routing/RouteProvider.php +++ b/core/lib/Drupal/Core/Routing/RouteProvider.php @@ -23,7 +23,7 @@ class RouteProvider implements RouteProviderInterface { /** * The database connection from which to read route information. * - * @var Drupal\Core\Database\Connection + * @var \Drupal\Core\Database\Connection */ protected $connection; diff --git a/core/lib/Drupal/Core/StreamWrapper/PublicStream.php b/core/lib/Drupal/Core/StreamWrapper/PublicStream.php index 94f551406e4..90f17b33049 100644 --- a/core/lib/Drupal/Core/StreamWrapper/PublicStream.php +++ b/core/lib/Drupal/Core/StreamWrapper/PublicStream.php @@ -40,7 +40,7 @@ class PublicStream extends LocalStream { $base_path = settings()->get('file_public_path', conf_path() . '/files'); if ($test_prefix = drupal_valid_test_ua()) { // Append the testing suffix unless already given. - // @see Drupal\simpletest\WebTestBase::setUp() + // @see \Drupal\simpletest\WebTestBase::setUp() if (strpos($base_path, '/simpletest/' . substr($test_prefix, 10)) === FALSE) { return $base_path . '/simpletest/' . substr($test_prefix, 10); } diff --git a/core/lib/Drupal/Core/Template/AttributeArray.php b/core/lib/Drupal/Core/Template/AttributeArray.php index 4f1875f066d..354f5677ecb 100644 --- a/core/lib/Drupal/Core/Template/AttributeArray.php +++ b/core/lib/Drupal/Core/Template/AttributeArray.php @@ -25,7 +25,7 @@ use Drupal\Component\Utility\String; * $attributes['class'][] = 'cat'; * @endcode * - * @see Drupal\Core\Template\Attribute + * @see \Drupal\Core\Template\Attribute */ class AttributeArray extends AttributeValueBase implements \ArrayAccess, \IteratorAggregate { diff --git a/core/lib/Drupal/Core/Template/AttributeBoolean.php b/core/lib/Drupal/Core/Template/AttributeBoolean.php index 23efced2605..f32f4608cd5 100644 --- a/core/lib/Drupal/Core/Template/AttributeBoolean.php +++ b/core/lib/Drupal/Core/Template/AttributeBoolean.php @@ -26,7 +26,7 @@ use Drupal\Component\Utility\String; * // produces <select>; * @endcode * - * @see Drupal\Core\Template\Attribute + * @see \Drupal\Core\Template\Attribute */ class AttributeBoolean extends AttributeValueBase { diff --git a/core/lib/Drupal/Core/Template/AttributeString.php b/core/lib/Drupal/Core/Template/AttributeString.php index 2c3ca247db4..be672a48bc2 100644 --- a/core/lib/Drupal/Core/Template/AttributeString.php +++ b/core/lib/Drupal/Core/Template/AttributeString.php @@ -22,7 +22,7 @@ use Drupal\Component\Utility\String; * // Produces: <cat id="socks" style="background-color:white">. * @endcode * - * @see Drupal\Core\Template\Attribute + * @see \Drupal\Core\Template\Attribute */ class AttributeString extends AttributeValueBase { diff --git a/core/lib/Drupal/Core/Template/AttributeValueBase.php b/core/lib/Drupal/Core/Template/AttributeValueBase.php index b06255e5945..3b082ae16e4 100644 --- a/core/lib/Drupal/Core/Template/AttributeValueBase.php +++ b/core/lib/Drupal/Core/Template/AttributeValueBase.php @@ -12,7 +12,7 @@ use Drupal\Component\Utility\String; /** * Defines the base class for an attribute type. * - * @see Drupal\Core\Template\Attribute + * @see \Drupal\Core\Template\Attribute */ abstract class AttributeValueBase { diff --git a/core/lib/Drupal/Core/TypedData/AccessibleInterface.php b/core/lib/Drupal/Core/TypedData/AccessibleInterface.php index 26760069491..30e373de167 100644 --- a/core/lib/Drupal/Core/TypedData/AccessibleInterface.php +++ b/core/lib/Drupal/Core/TypedData/AccessibleInterface.php @@ -24,7 +24,7 @@ interface AccessibleInterface { * - update * - delete * Defaults to 'view'. - * @param Drupal\Core\Session\AccountInterface $account + * @param \Drupal\Core\Session\AccountInterface $account * (optional) The user for which to check access, or NULL to check access * for the current user. Defaults to NULL. * diff --git a/core/lib/Drupal/Core/TypedData/Annotation/DataType.php b/core/lib/Drupal/Core/TypedData/Annotation/DataType.php index c0569ab1fce..ec9ef6dfcb5 100644 --- a/core/lib/Drupal/Core/TypedData/Annotation/DataType.php +++ b/core/lib/Drupal/Core/TypedData/Annotation/DataType.php @@ -29,7 +29,7 @@ use Drupal\Component\Annotation\Plugin; * items of a certain type may be specified using the 'list class' key. * * @see \Drupal::typedData() - * @see Drupal\Core\TypedData\TypedDataManager::create() + * @see \Drupal\Core\TypedData\TypedDataManager::create() * @see hook_data_type_info_alter() * * @Annotation diff --git a/core/lib/Drupal/Core/TypedData/TypedData.php b/core/lib/Drupal/Core/TypedData/TypedData.php index b97587b2204..031828af6a6 100644 --- a/core/lib/Drupal/Core/TypedData/TypedData.php +++ b/core/lib/Drupal/Core/TypedData/TypedData.php @@ -50,7 +50,7 @@ abstract class TypedData implements TypedDataInterface, PluginInspectionInterfac * (optional) The parent object of the data property, or NULL if it is the * root of a typed data tree. Defaults to NULL. * - * @see Drupal\Core\TypedData\TypedDataManager::create() + * @see \Drupal\Core\TypedData\TypedDataManager::create() */ public function __construct(array $definition, $name = NULL, TypedDataInterface $parent = NULL) { $this->definition = $definition; diff --git a/core/lib/Drupal/Core/Updater/Updater.php b/core/lib/Drupal/Core/Updater/Updater.php index cdd4e4ebecf..d87633a0e79 100644 --- a/core/lib/Drupal/Core/Updater/Updater.php +++ b/core/lib/Drupal/Core/Updater/Updater.php @@ -42,10 +42,10 @@ class Updater { * @param string $source * Directory of a Drupal project. * - * @return Drupal\Core\Updater\Updater + * @return \Drupal\Core\Updater\Updater * A new Drupal\Core\Updater\Updater object. * - * @throws Drupal\Core\Updater\UpdaterException + * @throws \Drupal\Core\Updater\UpdaterException */ public static function factory($source) { if (is_dir($source)) { @@ -66,7 +66,7 @@ class Updater { * @return string * The class name which can work with this project type. * - * @throws Drupal\Core\Updater\UpdaterException + * @throws \Drupal\Core\Updater\UpdaterException */ public static function getUpdaterFromDirectory($directory) { // Gets a list of possible implementing classes. @@ -133,7 +133,7 @@ class Updater { * @return string * The title of the project. * - * @throws Drupal\Core\Updater\UpdaterException + * @throws \Drupal\Core\Updater\UpdaterException */ public static function getProjectTitle($directory) { $info_file = self::findInfoFile($directory); @@ -168,7 +168,7 @@ class Updater { /** * Updates a Drupal project and returns a list of next actions. * - * @param Drupal\Core\FileTransfer\FileTransferInterface $filetransfer + * @param \Drupal\Core\FileTransfer\FileTransferInterface $filetransfer * Object that is a child of FileTransfer. Used for moving files * to the server. * @param array $overrides @@ -177,8 +177,8 @@ class Updater { * @return array * An array of links which the user may need to complete the update * - * @throws Drupal\Core\Updater\UpdaterException - * @throws Drupal\Core\Updater\UpdaterFileTransferException + * @throws \Drupal\Core\Updater\UpdaterException + * @throws \Drupal\Core\Updater\UpdaterFileTransferException */ public function update(&$filetransfer, $overrides = array()) { try { @@ -227,7 +227,7 @@ class Updater { /** * Installs a Drupal project, returns a list of next actions. * - * @param Drupal\Core\FileTransfer\FileTransferInterface $filetransfer + * @param \Drupal\Core\FileTransfer\FileTransferInterface $filetransfer * Object that is a child of FileTransfer. * @param array $overrides * An array of settings to override defaults; see self::getInstallArgs(). @@ -235,7 +235,7 @@ class Updater { * @return array * An array of links which the user may need to complete the install. * - * @throws Drupal\Core\Updater\UpdaterFileTransferException + * @throws \Drupal\Core\Updater\UpdaterFileTransferException */ public function install(&$filetransfer, $overrides = array()) { try { @@ -265,12 +265,12 @@ class Updater { /** * Makes sure the installation parent directory exists and is writable. * - * @param Drupal\Core\FileTransfer\FileTransferInterface $filetransfer + * @param \Drupal\Core\FileTransfer\FileTransferInterface $filetransfer * Object which is a child of FileTransfer. * @param string $directory * The installation directory to prepare. * - * @throws Drupal\Core\Updater\UpdaterException + * @throws \Drupal\Core\Updater\UpdaterException */ public function prepareInstallDirectory(&$filetransfer, $directory) { // Make the parent dir writable if need be and create the dir. @@ -310,7 +310,7 @@ class Updater { /** * Ensures that a given directory is world readable. * - * @param Drupal\Core\FileTransfer\FileTransferInterface $filetransfer + * @param \Drupal\Core\FileTransfer\FileTransferInterface $filetransfer * Object which is a child of FileTransfer. * @param string $path * The file path to make world readable. diff --git a/core/modules/aggregator/lib/Drupal/aggregator/FeedFormController.php b/core/modules/aggregator/lib/Drupal/aggregator/FeedFormController.php index 1b29d85c412..d640880612a 100644 --- a/core/modules/aggregator/lib/Drupal/aggregator/FeedFormController.php +++ b/core/modules/aggregator/lib/Drupal/aggregator/FeedFormController.php @@ -111,7 +111,7 @@ class FeedFormController extends ContentEntityFormController { $insert = (bool) $feed->id(); if (!empty($form_state['values']['category'])) { // Store category values for post save operations. - // @see Drupal\Core\Entity\FeedStorageController::postSave() + // @see \Drupal\Core\Entity\FeedStorageController::postSave() $feed->categories = $form_state['values']['category']; } $feed->save(); diff --git a/core/modules/ban/lib/Drupal/ban/EventSubscriber/BanSubscriber.php b/core/modules/ban/lib/Drupal/ban/EventSubscriber/BanSubscriber.php index 8d9f2adbc98..fb3aa2e7197 100644 --- a/core/modules/ban/lib/Drupal/ban/EventSubscriber/BanSubscriber.php +++ b/core/modules/ban/lib/Drupal/ban/EventSubscriber/BanSubscriber.php @@ -22,14 +22,14 @@ class BanSubscriber implements EventSubscriberInterface { /** * The manager used to check the IP against. * - * @var Drupal\ban\BanIpManager + * @var \Drupal\ban\BanIpManager */ protected $manager; /** * Construct the BanSubscriber. * - * @param Drupal\ban\BanIpManager $manager + * @param \Drupal\ban\BanIpManager $manager * The manager used to check the IP against. */ public function __construct(BanIpManager $manager) { diff --git a/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockTestBase.php b/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockTestBase.php index 54c89c8cae1..cf731fceae8 100644 --- a/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockTestBase.php +++ b/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockTestBase.php @@ -59,7 +59,7 @@ abstract class CustomBlockTestBase extends WebTestBase { * @param string $bundle * (optional) Bundle name. Defaults to 'basic'. * - * @return Drupal\custom_block\Entity\CustomBlock + * @return \Drupal\custom_block\Entity\CustomBlock * Created custom block. */ protected function createCustomBlock($title = FALSE, $bundle = 'basic') { @@ -80,7 +80,7 @@ abstract class CustomBlockTestBase extends WebTestBase { * @param string $label * The block type label. * - * @return Drupal\custom_block\Entity\CustomBlockType + * @return \Drupal\custom_block\Entity\CustomBlockType * Created custom block type. */ protected function createCustomBlockType($label) { diff --git a/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockTranslationUITest.php b/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockTranslationUITest.php index 77d14b129e8..c8f85ed3f85 100644 --- a/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockTranslationUITest.php +++ b/core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockTranslationUITest.php @@ -77,7 +77,7 @@ class CustomBlockTranslationUITest extends ContentTranslationUITest { * (optional) Bundle name. When no value is given, defaults to * $this->bundle. Defaults to FALSE. * - * @return Drupal\custom_block\Entity\CustomBlock + * @return \Drupal\custom_block\Entity\CustomBlock * Created custom block. */ protected function createCustomBlock($title = FALSE, $bundle = FALSE) { diff --git a/core/modules/breakpoint/breakpoint.module b/core/modules/breakpoint/breakpoint.module index ad1abd61fd3..9ddb80f92fa 100644 --- a/core/modules/breakpoint/breakpoint.module +++ b/core/modules/breakpoint/breakpoint.module @@ -364,7 +364,7 @@ function breakpoint_select_options() { * @param string $source_type * Either Breakpoint::SOURCE_TYPE_THEME or Breakpoint::SOURCE_TYPE_MODULE. * - * @return Drupal\breakpoint\Entity\BreakpointGroup + * @return \Drupal\breakpoint\Entity\BreakpointGroup * * @see _breakpoint_import_media_queries() * @see _breakpoint_import_breakpoint_groups() diff --git a/core/modules/breakpoint/lib/Drupal/breakpoint/Entity/BreakpointGroup.php b/core/modules/breakpoint/lib/Drupal/breakpoint/Entity/BreakpointGroup.php index 774890d3b69..6a3150a952f 100644 --- a/core/modules/breakpoint/lib/Drupal/breakpoint/Entity/BreakpointGroup.php +++ b/core/modules/breakpoint/lib/Drupal/breakpoint/Entity/BreakpointGroup.php @@ -68,7 +68,7 @@ class BreakpointGroup extends ConfigEntityBase implements BreakpointGroupInterfa * @var array * Array containing all breakpoints of this group. * - * @see Drupal\breakpoint\Entity\Breakpoint + * @see \Drupal\breakpoint\Entity\Breakpoint */ public $breakpoints = array(); @@ -89,7 +89,7 @@ class BreakpointGroup extends ConfigEntityBase implements BreakpointGroupInterfa * Breakpoint::SOURCE_TYPE_MODULE * Breakpoint::SOURCE_TYPE_USER_DEFINED * - * @see Drupal\breakpoint\Entity\Breakpoint + * @see \Drupal\breakpoint\Entity\Breakpoint */ public $sourceType = Breakpoint::SOURCE_TYPE_USER_DEFINED; diff --git a/core/modules/ckeditor/js/ckeditor.stylescombo.admin.js b/core/modules/ckeditor/js/ckeditor.stylescombo.admin.js index f32a6a829ea..84e6e0a3e86 100644 --- a/core/modules/ckeditor/js/ckeditor.stylescombo.admin.js +++ b/core/modules/ckeditor/js/ckeditor.stylescombo.admin.js @@ -54,7 +54,7 @@ Drupal.behaviors.ckeditorStylesComboSettings = { /** * Builds the "stylesSet" configuration part of the CKEditor JS settings. * - * @see Drupal\ckeditor\Plugin\ckeditor\plugin\StylesCombo::generateStylesSetSetting() + * @see \Drupal\ckeditor\Plugin\ckeditor\plugin\StylesCombo::generateStylesSetSetting() * * Note that this is a more forgiving implementation than the PHP version: the * parsing works identically, but instead of failing on invalid styles, we diff --git a/core/modules/comment/comment.api.php b/core/modules/comment/comment.api.php index 41e8a0c0be6..e43c57710eb 100644 --- a/core/modules/comment/comment.api.php +++ b/core/modules/comment/comment.api.php @@ -18,7 +18,7 @@ use Drupal\Core\Entity\EntityInterface; * This hook is invoked from $comment->save() before the comment is saved to the * database. * - * @param Drupal\comment\Comment $comment + * @param \Drupal\comment\Comment $comment * The comment object. */ function hook_comment_presave(Drupal\comment\Comment $comment) { @@ -29,7 +29,7 @@ function hook_comment_presave(Drupal\comment\Comment $comment) { /** * Respond to creation of a new comment. * - * @param Drupal\comment\Comment $comment + * @param \Drupal\comment\Comment $comment * The comment object. */ function hook_comment_insert(Drupal\comment\Comment $comment) { @@ -42,7 +42,7 @@ function hook_comment_insert(Drupal\comment\Comment $comment) { /** * Respond to updates to a comment. * - * @param Drupal\comment\Comment $comment + * @param \Drupal\comment\Comment $comment * The comment object. */ function hook_comment_update(Drupal\comment\Comment $comment) { @@ -144,7 +144,7 @@ function hook_comment_view_alter(&$build, \Drupal\comment\Entity\Comment $commen /** * Respond to a comment being published by a moderator. * - * @param Drupal\comment\Comment $comment + * @param \Drupal\comment\Comment $comment * The comment the action is being performed on. */ function hook_comment_publish(Drupal\comment\Comment $comment) { @@ -154,7 +154,7 @@ function hook_comment_publish(Drupal\comment\Comment $comment) { /** * Respond to a comment being unpublished by a moderator. * - * @param Drupal\comment\Comment $comment + * @param \Drupal\comment\Comment $comment * The comment the action is being performed on. */ function hook_comment_unpublish(Drupal\comment\Comment $comment) { @@ -167,7 +167,7 @@ function hook_comment_unpublish(Drupal\comment\Comment $comment) { * This hook is invoked from entity_delete_multiple() before field values are * deleted and before the comment is actually removed from the database. * - * @param Drupal\comment\Comment $comment + * @param \Drupal\comment\Comment $comment * The comment object for the comment that is about to be deleted. * * @see hook_comment_delete() @@ -186,7 +186,7 @@ function hook_comment_predelete(Drupal\comment\Comment $comment) { * This hook is invoked from entity_delete_multiple() after field values are * deleted and after the comment has been removed from the database. * - * @param Drupal\comment\Comment $comment + * @param \Drupal\comment\Comment $comment * The comment object for the comment that has been deleted. * * @see hook_comment_predelete() diff --git a/core/modules/comment/comment.module b/core/modules/comment/comment.module index fb2f320bd65..b3366f84ed8 100644 --- a/core/modules/comment/comment.module +++ b/core/modules/comment/comment.module @@ -1228,7 +1228,7 @@ function comment_user_predelete($account) { * An array of comment objects, indexed by comment ID. * * @see entity_load() - * @see Drupal\Core\Entity\Query\QueryInterface + * @see \Drupal\Core\Entity\Query\QueryInterface */ function comment_load_multiple(array $cids = NULL, $reset = FALSE) { return entity_load_multiple('comment', $cids, $reset); diff --git a/core/modules/comment/lib/Drupal/comment/Tests/CommentLinksTest.php b/core/modules/comment/lib/Drupal/comment/Tests/CommentLinksTest.php index 731f5c973fa..c529ab9c107 100644 --- a/core/modules/comment/lib/Drupal/comment/Tests/CommentLinksTest.php +++ b/core/modules/comment/lib/Drupal/comment/Tests/CommentLinksTest.php @@ -179,7 +179,7 @@ class CommentLinksTest extends CommentTestBase { user_role_change_permissions($rid, $perms); // Output verbose debugging information. - // @see Drupal\simpletest\TestBase::error() + // @see \Drupal\simpletest\TestBase::error() $t_form = array( COMMENT_FORM_BELOW => 'below', COMMENT_FORM_SEPARATE_PAGE => 'separate page', diff --git a/core/modules/comment/lib/Drupal/comment/Tests/Views/DefaultViewRecentComments.php b/core/modules/comment/lib/Drupal/comment/Tests/Views/DefaultViewRecentComments.php index 3f3759ecdf1..7b2419781f4 100644 --- a/core/modules/comment/lib/Drupal/comment/Tests/Views/DefaultViewRecentComments.php +++ b/core/modules/comment/lib/Drupal/comment/Tests/Views/DefaultViewRecentComments.php @@ -50,7 +50,7 @@ class DefaultViewRecentComments extends ViewTestBase { /** * Contains the node object used for comments of this test. * - * @var Drupal\node\Node + * @var \Drupal\node\Node */ public $node; diff --git a/core/modules/comment/lib/Drupal/comment/Tests/Views/WizardTest.php b/core/modules/comment/lib/Drupal/comment/Tests/Views/WizardTest.php index 8692d67ecdc..a74f774c875 100644 --- a/core/modules/comment/lib/Drupal/comment/Tests/Views/WizardTest.php +++ b/core/modules/comment/lib/Drupal/comment/Tests/Views/WizardTest.php @@ -12,7 +12,7 @@ use Drupal\views\Tests\Wizard\WizardTestBase; /** * Tests the comment module integration into the wizard. * - * @see Drupal\comment\Plugin\views\wizard\Comment + * @see \Drupal\comment\Plugin\views\wizard\Comment */ class WizardTest extends WizardTestBase { diff --git a/core/modules/contact/contact.pages.inc b/core/modules/contact/contact.pages.inc index a851812636d..061bd100b83 100644 --- a/core/modules/contact/contact.pages.inc +++ b/core/modules/contact/contact.pages.inc @@ -13,7 +13,7 @@ use Drupal\Component\Utility\String; /** * Page callback: Presents the site-wide contact form. * - * @param Drupal\contact\Entity\Category $category + * @param \Drupal\contact\Entity\Category $category * (optional) The contact category to use. * * @throws \Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException diff --git a/core/modules/edit/lib/Drupal/edit/EditController.php b/core/modules/edit/lib/Drupal/edit/EditController.php index 433bfe7ead1..84649d05b6a 100644 --- a/core/modules/edit/lib/Drupal/edit/EditController.php +++ b/core/modules/edit/lib/Drupal/edit/EditController.php @@ -74,7 +74,7 @@ class EditController extends ContainerAware implements ContainerInjectionInterfa * The TempStore factory. * @param \Drupal\edit\MetadataGeneratorInterface $metadata_generator * The in-place editing metadata generator. - * @param Drupal\edit\EditorSelectorInterface $editor_selector + * @param \Drupal\edit\EditorSelectorInterface $editor_selector * The in-place editor selector. * @param \Drupal\Core\Entity\EntityManager $entity_manager * The entity manager. diff --git a/core/modules/editor/editor.module b/core/modules/editor/editor.module index 8282d078010..63641025af6 100644 --- a/core/modules/editor/editor.module +++ b/core/modules/editor/editor.module @@ -503,7 +503,7 @@ function _editor_record_file_usage(array $uuids, EntityInterface $entity) { * The number of references to delete. Should be 1 when deleting a single * revision and 0 when deleting an entity entirely. * - * @see Drupal\file\FileUsage\FileUsageInterface::delete() + * @see \Drupal\file\FileUsage\FileUsageInterface::delete() */ function _editor_delete_file_usage(array $uuids, EntityInterface $entity, $count) { foreach ($uuids as $uuid) { diff --git a/core/modules/field/field.attach.inc b/core/modules/field/field.attach.inc index f0829607a5c..abd709ab969 100644 --- a/core/modules/field/field.attach.inc +++ b/core/modules/field/field.attach.inc @@ -65,7 +65,7 @@ use Drupal\entity\Entity\EntityFormDisplay; * @param callable $target_function * A function that receives an $instance object and returns the object on * which the method should be invoked. - * @param Drupal\Core\Entity\EntityInterface $entity + * @param \Drupal\Core\Entity\EntityInterface $entity * The fully formed $entity_type entity. * @param mixed $a * (optional) A parameter for the invoked method. Defaults to NULL. diff --git a/core/modules/field/lib/Drupal/field/Plugin/PluginSettingsInterface.php b/core/modules/field/lib/Drupal/field/Plugin/PluginSettingsInterface.php index 955e88d6532..91f56f6d994 100644 --- a/core/modules/field/lib/Drupal/field/Plugin/PluginSettingsInterface.php +++ b/core/modules/field/lib/Drupal/field/Plugin/PluginSettingsInterface.php @@ -48,7 +48,7 @@ interface PluginSettingsInterface extends PluginInspectionInterface { * The array of settings, keyed by setting names. Missing settings will be * assigned their default values. * - * @return Drupal\field\Plugin\PluginSettingsInterface + * @return \Drupal\field\Plugin\PluginSettingsInterface * The plugin itself. */ public function setSettings(array $settings); @@ -61,7 +61,7 @@ interface PluginSettingsInterface extends PluginInspectionInterface { * @param mixed $value * The setting value. * - * @return Drupal\field\Plugin\PluginSettingsInterface + * @return \Drupal\field\Plugin\PluginSettingsInterface * The plugin itself. */ public function setSetting($key, $value); diff --git a/core/modules/field/lib/Drupal/field/Plugin/Type/Formatter/FormatterInterface.php b/core/modules/field/lib/Drupal/field/Plugin/Type/Formatter/FormatterInterface.php index 41706a76a2d..8d4763d3ea2 100644 --- a/core/modules/field/lib/Drupal/field/Plugin/Type/Formatter/FormatterInterface.php +++ b/core/modules/field/lib/Drupal/field/Plugin/Type/Formatter/FormatterInterface.php @@ -69,7 +69,7 @@ interface FormatterInterface extends PluginSettingsInterface { /** * Builds a renderable array for one field on one entity instance. * - * @param Drupal\Core\Entity\Field\FieldItemListInterface $items + * @param \Drupal\Core\Entity\Field\FieldItemListInterface $items * The field values to be rendered. * * @return array @@ -80,7 +80,7 @@ interface FormatterInterface extends PluginSettingsInterface { /** * Builds a renderable array for a field value. * - * @param Drupal\Core\Entity\Field\FieldItemListInterface $items + * @param \Drupal\Core\Entity\Field\FieldItemListInterface $items * The field values to be rendered. * * @return array diff --git a/core/modules/field/tests/modules/field_test/field_test.module b/core/modules/field/tests/modules/field_test/field_test.module index b5704d572d3..a95d4573da7 100644 --- a/core/modules/field/tests/modules/field_test/field_test.module +++ b/core/modules/field/tests/modules/field_test/field_test.module @@ -173,7 +173,7 @@ function field_test_field_widget_form_alter(&$element, &$form_state, $context) { /** * Implements hook_query_TAG_alter() for tag 'efq_table_prefixing_test'. * - * @see Drupal\system\Tests\Entity\EntityFieldQueryTest::testTablePrefixing() + * @see \Drupal\system\Tests\Entity\EntityFieldQueryTest::testTablePrefixing() */ function field_test_query_efq_table_prefixing_test_alter(&$query) { // Add an additional join onto the entity base table. This will cause an @@ -185,7 +185,7 @@ function field_test_query_efq_table_prefixing_test_alter(&$query) { /** * Implements hook_query_TAG_alter() for tag 'efq_metadata_test'. * - * @see Drupal\system\Tests\Entity\EntityQueryTest::testMetaData() + * @see \Drupal\system\Tests\Entity\EntityQueryTest::testMetaData() */ function field_test_query_efq_metadata_test_alter(&$query) { global $efq_test_metadata; diff --git a/core/modules/field_ui/lib/Drupal/field_ui/FieldOverview.php b/core/modules/field_ui/lib/Drupal/field_ui/FieldOverview.php index a2dbb68e6e8..b003549f1e6 100644 --- a/core/modules/field_ui/lib/Drupal/field_ui/FieldOverview.php +++ b/core/modules/field_ui/lib/Drupal/field_ui/FieldOverview.php @@ -306,7 +306,7 @@ class FieldOverview extends OverviewBase { * @param array $form_state * A reference to a keyed array containing the current state of the form. * - * @see Drupal\field_ui\FieldOverview::validateForm() + * @see \Drupal\field_ui\FieldOverview::validateForm() */ protected function validateAddNew(array $form, array &$form_state) { $field = $form_state['values']['fields']['_add_new_field']; @@ -346,7 +346,7 @@ class FieldOverview extends OverviewBase { * @param array $form_state * A reference to a keyed array containing the current state of the form. * - * @see Drupal\field_ui\FieldOverview::validate() + * @see \Drupal\field_ui\FieldOverview::validate() */ protected function validateAddExisting(array $form, array &$form_state) { // The form element might be absent if no existing fields can be added to diff --git a/core/modules/file/file.api.php b/core/modules/file/file.api.php index eaf8ba4c49e..242e9ab9784 100644 --- a/core/modules/file/file.api.php +++ b/core/modules/file/file.api.php @@ -172,7 +172,7 @@ function hook_file_move(Drupal\file\FileInterface $file, Drupal\file\FileInterfa * The file that is about to be deleted. * * @see hook_file_delete() - * @see Drupal\file\FileStorageController::delete() + * @see \Drupal\file\FileStorageController::delete() * @see upload_file_delete() */ function hook_file_predelete(Drupal\file\FileInterface $file) { @@ -190,7 +190,7 @@ function hook_file_predelete(Drupal\file\FileInterface $file) { * The file that has just been deleted. * * @see hook_file_predelete() - * @see Drupal\file\FileStorageController::delete() + * @see \Drupal\file\FileStorageController::delete() */ function hook_file_delete(Drupal\file\FileInterface $file) { // Delete all information associated with the file. diff --git a/core/modules/file/file.module b/core/modules/file/file.module index 3dcbcef2fcc..16ce43f74e2 100644 --- a/core/modules/file/file.module +++ b/core/modules/file/file.module @@ -94,7 +94,7 @@ function file_element_info() { * @see hook_file_load() * @see file_load() * @see entity_load() - * @see Drupal\Core\Entity\Query\EntityQueryInterface + * @see \Drupal\Core\Entity\Query\EntityQueryInterface */ function file_load_multiple(array $fids = NULL, $reset = FALSE) { return entity_load_multiple('file', $fids, $reset); @@ -121,7 +121,7 @@ function file_load($fid, $reset = FALSE) { /** * Returns the file usage service. * - * @return Drupal\file\FileUsage\FileUsageInterface. + * @return \Drupal\file\FileUsage\FileUsageInterface. */ function file_usage() { return \Drupal::service('file.usage'); @@ -142,7 +142,7 @@ function file_usage() { * temporary file, the resulting file will also be a temporary file. See * file_save_upload() for details on temporary files. * - * @param Drupal\file\File $source + * @param \Drupal\file\File $source * A file entity. * @param $destination * A string containing the destination that $source should be copied to. @@ -214,7 +214,7 @@ function file_copy(File $source, $destination = NULL, $replace = FILE_EXISTS_REN * replace the file or rename the file based on the $replace parameter. * - Adds the new file to the files database. * - * @param Drupal\file\File $source + * @param \Drupal\file\File $source * A file entity. * @param $destination * A string containing the destination that $source should be moved to. @@ -230,7 +230,7 @@ function file_copy(File $source, $destination = NULL, $replace = FILE_EXISTS_REN * unique. * - FILE_EXISTS_ERROR - Do nothing and return FALSE. * - * @return Drupal\file\File + * @return \Drupal\file\File * Resulting file entity for success, or FALSE in the event of an error. * * @see file_unmanaged_move() @@ -289,7 +289,7 @@ function file_move(File $source, $destination = NULL, $replace = FILE_EXISTS_REN * After executing the validator callbacks specified hook_file_validate() will * also be called to allow other modules to report errors about the file. * - * @param Drupal\file\File $file + * @param \Drupal\file\File $file * A file entity. * @param $validators * An optional, associative array of callback functions used to validate the @@ -321,7 +321,7 @@ function file_validate(File $file, $validators = array()) { /** * Checks for files with names longer than can be stored in the database. * - * @param Drupal\file\File $file + * @param \Drupal\file\File $file * A file entity. * * @return @@ -342,7 +342,7 @@ function file_validate_name_length(File $file) { /** * Checks that the filename ends with an allowed extension. * - * @param Drupal\file\File $file + * @param \Drupal\file\File $file * A file entity. * @param $extensions * A string with a space separated list of allowed extensions. @@ -366,7 +366,7 @@ function file_validate_extensions(File $file, $extensions) { /** * Checks that the file's size is below certain limits. * - * @param Drupal\file\File $file + * @param \Drupal\file\File $file * A file entity. * @param $file_limit * An integer specifying the maximum file size in bytes. Zero indicates that @@ -400,7 +400,7 @@ function file_validate_size(File $file, $file_limit = 0, $user_limit = 0) { /** * Checks that the file is recognized by Image::getInfo() as an image. * - * @param Drupal\file\File $file + * @param \Drupal\file\File $file * A file entity. * * @return @@ -430,7 +430,7 @@ function file_validate_is_image(File $file) { * Non-image files will be ignored. If a image toolkit is available the image * will be scaled to fit within the desired maximum dimensions. * - * @param Drupal\file\File $file + * @param \Drupal\file\File $file * A file entity. This function may resize the file affecting its size. * @param $maximum_dimensions * An optional string in the form WIDTHxHEIGHT e.g. '640x480' or '85x85'. If @@ -550,7 +550,7 @@ function file_save_data($data, $destination = NULL, $replace = FILE_EXISTS_RENAM /** * Examines a file entity and returns appropriate content headers for download. * - * @param Drupal\file\File $file + * @param \Drupal\file\File $file * A file entity. * * @return @@ -1620,7 +1620,7 @@ function theme_file_icon($variables) { /** * Creates a URL to the icon for a file entity. * - * @param Drupal\file\File $file + * @param \Drupal\file\File $file * A file entity. * @param $icon_directory * (optional) A path to a directory of icons to be used for files. Defaults to @@ -1639,7 +1639,7 @@ function file_icon_url(File $file, $icon_directory = NULL) { /** * Creates a path to the icon for a file entity. * - * @param Drupal\file\File $file + * @param \Drupal\file\File $file * A file entity. * @param $icon_directory * (optional) A path to a directory of icons to be used for files. Defaults to @@ -1692,7 +1692,7 @@ function file_icon_path(File $file, $icon_directory = NULL) { /** * Determines the generic icon MIME package based on a file's MIME type. * - * @param Drupal\file\File $file + * @param \Drupal\file\File $file * A file entity. * * @return @@ -1824,7 +1824,7 @@ function file_icon_map(File $file) { /** * Retrieves a list of references to a file. * - * @param Drupal\file\File $file + * @param \Drupal\file\File $file * A file entity. * @param $field * (optional) A field array to be used for this check. If given, limits the diff --git a/core/modules/file/lib/Drupal/file/FileUsage/DatabaseFileUsageBackend.php b/core/modules/file/lib/Drupal/file/FileUsage/DatabaseFileUsageBackend.php index 773c92b8772..81285286e64 100644 --- a/core/modules/file/lib/Drupal/file/FileUsage/DatabaseFileUsageBackend.php +++ b/core/modules/file/lib/Drupal/file/FileUsage/DatabaseFileUsageBackend.php @@ -19,7 +19,7 @@ class DatabaseFileUsageBackend extends FileUsageBase { /** * The database connection used to store file usage information. * - * @var Drupal\Core\Database\Connection + * @var \Drupal\Core\Database\Connection */ protected $connection; @@ -33,7 +33,7 @@ class DatabaseFileUsageBackend extends FileUsageBase { /** * Construct the DatabaseFileUsageBackend. * - * @param Drupal\Core\Database\Connection $connection + * @param \Drupal\Core\Database\Connection $connection * The database connection which will be used to store the file usage * information. * @param string $table diff --git a/core/modules/file/lib/Drupal/file/FileUsage/FileUsageInterface.php b/core/modules/file/lib/Drupal/file/FileUsage/FileUsageInterface.php index dddfd73f9d5..de890e75ba7 100644 --- a/core/modules/file/lib/Drupal/file/FileUsage/FileUsageInterface.php +++ b/core/modules/file/lib/Drupal/file/FileUsage/FileUsageInterface.php @@ -24,7 +24,7 @@ interface FileUsageInterface { * - The User module associates an image with a user, so $type would be 'user' * and the $id would be the user's uid. * - * @param Drupal\file\File $file + * @param \Drupal\file\File $file * A file entity. * @param string $module * The name of the module using the file. @@ -40,7 +40,7 @@ interface FileUsageInterface { /** * Removes a record to indicate that a module is no longer using a file. * - * @param Drupal\file\File $file + * @param \Drupal\file\File $file * A file entity. * @param string $module * The name of the module using the file. @@ -62,7 +62,7 @@ interface FileUsageInterface { /** * Determines where a file is used. * - * @param Drupal\file\File $file + * @param \Drupal\file\File $file * A file entity. * * @return array diff --git a/core/modules/language/lib/Drupal/language/Tests/LanguageDependencyInjectionTest.php b/core/modules/language/lib/Drupal/language/Tests/LanguageDependencyInjectionTest.php index 97488ed65d8..ca496731726 100644 --- a/core/modules/language/lib/Drupal/language/Tests/LanguageDependencyInjectionTest.php +++ b/core/modules/language/lib/Drupal/language/Tests/LanguageDependencyInjectionTest.php @@ -42,7 +42,7 @@ class LanguageDependencyInjectionTest extends WebTestBase { /** * Test dependency injected languages against a new Language object. * - * @see Drupal\Core\Language\Language + * @see \Drupal\Core\Language\Language */ function testDependencyInjectedNewLanguage() { // Initialize the language system. @@ -59,7 +59,7 @@ class LanguageDependencyInjectionTest extends WebTestBase { * Test dependency injected Language object against a new default language * object. * - * @see Drupal\Core\Language\Language + * @see \Drupal\Core\Language\Language */ function testDependencyInjectedNewDefaultLanguage() { // Change the language default object to different values. diff --git a/core/modules/language/lib/Drupal/language/Tests/Views/ArgumentLanguageTest.php b/core/modules/language/lib/Drupal/language/Tests/Views/ArgumentLanguageTest.php index f3e4068a00a..9469d36d439 100644 --- a/core/modules/language/lib/Drupal/language/Tests/Views/ArgumentLanguageTest.php +++ b/core/modules/language/lib/Drupal/language/Tests/Views/ArgumentLanguageTest.php @@ -12,7 +12,7 @@ use Drupal\Core\Language\Language; /** * Tests the argument language handler. * - * @see Drupal\language\Plugin\views\argument\Language.php + * @see \Drupal\language\Plugin\views\argument\Language.php */ class ArgumentLanguageTest extends LanguageTestBase { diff --git a/core/modules/language/lib/Drupal/language/Tests/Views/FieldLanguageTest.php b/core/modules/language/lib/Drupal/language/Tests/Views/FieldLanguageTest.php index fa5a387d3fe..7a831c6453a 100644 --- a/core/modules/language/lib/Drupal/language/Tests/Views/FieldLanguageTest.php +++ b/core/modules/language/lib/Drupal/language/Tests/Views/FieldLanguageTest.php @@ -12,7 +12,7 @@ use Drupal\Core\Language\Language; /** * Tests the field language handler. * - * @see Drupal\language\Plugin\views\field\Language + * @see \Drupal\language\Plugin\views\field\Language */ class FieldLanguageTest extends LanguageTestBase { diff --git a/core/modules/language/lib/Drupal/language/Tests/Views/FilterLanguageTest.php b/core/modules/language/lib/Drupal/language/Tests/Views/FilterLanguageTest.php index b2d03a4bd7b..53879781a62 100644 --- a/core/modules/language/lib/Drupal/language/Tests/Views/FilterLanguageTest.php +++ b/core/modules/language/lib/Drupal/language/Tests/Views/FilterLanguageTest.php @@ -12,7 +12,7 @@ use Drupal\Core\Language\Language; /** * Tests the filter language handler. * - * @see Drupal\language\Plugin\views\filter\Language + * @see \Drupal\language\Plugin\views\filter\Language */ class FilterLanguageTest extends LanguageTestBase { diff --git a/core/modules/locale/lib/Drupal/locale/Gettext.php b/core/modules/locale/lib/Drupal/locale/Gettext.php index f9f912918ec..62d6fcb70ed 100644 --- a/core/modules/locale/lib/Drupal/locale/Gettext.php +++ b/core/modules/locale/lib/Drupal/locale/Gettext.php @@ -44,7 +44,7 @@ class Gettext { * @return array * Report array as defined in Drupal\locale\PoDatabaseWriter. * - * @see Drupal\locale\PoDatabaseWriter + * @see \Drupal\locale\PoDatabaseWriter */ static function fileToDatabase($file, $options) { // Add the default values to the options array. diff --git a/core/modules/locale/lib/Drupal/locale/PoDatabaseWriter.php b/core/modules/locale/lib/Drupal/locale/PoDatabaseWriter.php index dd444922e5b..d5a12256629 100644 --- a/core/modules/locale/lib/Drupal/locale/PoDatabaseWriter.php +++ b/core/modules/locale/lib/Drupal/locale/PoDatabaseWriter.php @@ -45,7 +45,7 @@ class PoDatabaseWriter implements PoWriterInterface { /** * Header of the po file written to the database. * - * @var Drupal\Component\Gettext\PoHeader + * @var \Drupal\Component\Gettext\PoHeader */ private $_header; @@ -148,7 +148,7 @@ class PoDatabaseWriter implements PoWriterInterface { * * A langcode is required to set the current header's PluralForm. * - * @param Drupal\Component\Gettext\PoHeader $header + * @param \Drupal\Component\Gettext\PoHeader $header * Header metadata. * * @throws Exception @@ -209,7 +209,7 @@ class PoDatabaseWriter implements PoWriterInterface { /** * Imports one string into the database. * - * @param Drupal\Component\Gettext\PoItem $item + * @param \Drupal\Component\Gettext\PoItem $item * The item being imported. * * @return int diff --git a/core/modules/locale/lib/Drupal/locale/StringBase.php b/core/modules/locale/lib/Drupal/locale/StringBase.php index e2d9bccf428..81544f08dbc 100644 --- a/core/modules/locale/lib/Drupal/locale/StringBase.php +++ b/core/modules/locale/lib/Drupal/locale/StringBase.php @@ -52,7 +52,7 @@ abstract class StringBase implements StringInterface { /** * The locale storage this string comes from or is to be saved to. * - * @var Drupal\locale\StringStorageInterface + * @var \Drupal\locale\StringStorageInterface */ protected $storage; diff --git a/core/modules/locale/lib/Drupal/locale/StringDatabaseStorage.php b/core/modules/locale/lib/Drupal/locale/StringDatabaseStorage.php index b1c5571982b..458e1b96a6b 100644 --- a/core/modules/locale/lib/Drupal/locale/StringDatabaseStorage.php +++ b/core/modules/locale/lib/Drupal/locale/StringDatabaseStorage.php @@ -20,7 +20,7 @@ class StringDatabaseStorage implements StringStorageInterface { /** * The database connection. * - * @var Drupal\Core\Database\Connection + * @var \Drupal\Core\Database\Connection */ protected $connection; @@ -34,7 +34,7 @@ class StringDatabaseStorage implements StringStorageInterface { /** * Constructs a new StringStorage controller. * - * @param Drupal\Core\Database\Connection $connection + * @param \Drupal\Core\Database\Connection $connection * A Database connection to use for reading and writing configuration data. * @param array $options * (optional) Any additional database connection options to use in queries. @@ -138,7 +138,7 @@ class StringDatabaseStorage implements StringStorageInterface { /** * Update locations for string. * - * @param Drupal\locale\StringInterface $string + * @param \Drupal\locale\StringInterface $string * The string object. */ protected function updateLocation($string) { @@ -173,7 +173,7 @@ class StringDatabaseStorage implements StringStorageInterface { /** * Checks whether the string version matches a given version, fix it if not. * - * @param Drupal\locale\StringInterface $string + * @param \Drupal\locale\StringInterface $string * The string object. * @param string $version * Drupal version to check against. @@ -269,7 +269,7 @@ class StringDatabaseStorage implements StringStorageInterface { /** * Gets table name for storing string object. * - * @param Drupal\locale\StringInterface $string + * @param \Drupal\locale\StringInterface $string * The string object. * * @return string @@ -287,7 +287,7 @@ class StringDatabaseStorage implements StringStorageInterface { /** * Gets keys values that are in a database table. * - * @param Drupal\locale\StringInterface $string + * @param \Drupal\locale\StringInterface $string * The string object. * * @return array @@ -453,14 +453,14 @@ class StringDatabaseStorage implements StringStorageInterface { /** * Createds a database record for a string object. * - * @param Drupal\locale\StringInterface $string + * @param \Drupal\locale\StringInterface $string * The string object. * * @return bool|int * If the operation failed, returns FALSE. * If it succeeded returns the last insert ID of the query, if one exists. * - * @throws Drupal\locale\StringStorageException + * @throws \Drupal\locale\StringStorageException * If the string is not suitable for this storage, an exception ithrown. */ protected function dbStringInsert($string) { @@ -487,14 +487,14 @@ class StringDatabaseStorage implements StringStorageInterface { /** * Updates string object in the database. * - * @param Drupal\locale\StringInterface $string + * @param \Drupal\locale\StringInterface $string * The string object. * * @return bool|int * If the record update failed, returns FALSE. If it succeeded, returns * SAVED_NEW or SAVED_UPDATED. * - * @throws Drupal\locale\StringStorageException + * @throws \Drupal\locale\StringStorageException * If the string is not suitable for this storage, an exception is thrown. */ protected function dbStringUpdate($string) { diff --git a/core/modules/locale/lib/Drupal/locale/StringInterface.php b/core/modules/locale/lib/Drupal/locale/StringInterface.php index 05e3c010a61..fb9d7eaf4f3 100644 --- a/core/modules/locale/lib/Drupal/locale/StringInterface.php +++ b/core/modules/locale/lib/Drupal/locale/StringInterface.php @@ -26,7 +26,7 @@ interface StringInterface { * @param int $id * The string identifier. * - * @return Drupal\locale\LocaleString + * @return \Drupal\locale\LocaleString * The called object. */ public function setId($id); @@ -45,7 +45,7 @@ interface StringInterface { * @param string $version * Version identifier. * - * @return Drupal\locale\LocaleString + * @return \Drupal\locale\LocaleString * The called object. */ public function setVersion($version); @@ -64,7 +64,7 @@ interface StringInterface { * @param string $string * String to set as value. * - * @return Drupal\locale\LocaleString + * @return \Drupal\locale\LocaleString * The called object. */ public function setString($string); @@ -85,7 +85,7 @@ interface StringInterface { * @param array $plurals * Array of strings with plural variants. * - * @return Drupal\locale\LocaleString + * @return \Drupal\locale\LocaleString * The called object. */ public function setPlurals($plurals); @@ -93,7 +93,7 @@ interface StringInterface { /** * Gets the string storage. * - * @return Drupal\locale\StringStorageInterface + * @return \Drupal\locale\StringStorageInterface * The storage used for this string. */ public function getStorage(); @@ -101,10 +101,10 @@ interface StringInterface { /** * Sets the string storage. * - * @param Drupal\locale\StringStorageInterface $storage + * @param \Drupal\locale\StringStorageInterface $storage * The storage to use for this string. * - * @return Drupal\locale\LocaleString + * @return \Drupal\locale\LocaleString * The called object. */ public function setStorage($storage); @@ -141,7 +141,7 @@ interface StringInterface { * @param bool $override * (optional) Whether to override already set fields, defaults to TRUE. * - * @return Drupal\locale\LocaleString + * @return \Drupal\locale\LocaleString * The called object. */ public function setValues(array $values, $override = TRUE); @@ -187,7 +187,7 @@ interface StringInterface { * file path in case of imported strings, configuration name for strings * that come from configuration, etc... * - * @return Drupal\locale\LocaleString + * @return \Drupal\locale\LocaleString * The called object. */ public function addLocation($type, $name); @@ -208,10 +208,10 @@ interface StringInterface { /** * Saves string object to storage. * - * @return Drupal\locale\LocaleString + * @return \Drupal\locale\LocaleString * The called object. * - * @throws Drupal\locale\StringStorageException + * @throws \Drupal\locale\StringStorageException * In case of failures, an exception is thrown. */ public function save(); @@ -219,10 +219,10 @@ interface StringInterface { /** * Deletes string object from storage. * - * @return Drupal\locale\LocaleString + * @return \Drupal\locale\LocaleString * The called object. * - * @throws Drupal\locale\StringStorageException + * @throws \Drupal\locale\StringStorageException * In case of failures, an exception is thrown. */ public function delete(); diff --git a/core/modules/locale/lib/Drupal/locale/Tests/LocaleStringTest.php b/core/modules/locale/lib/Drupal/locale/Tests/LocaleStringTest.php index caf19cec8bb..2a59408d64b 100644 --- a/core/modules/locale/lib/Drupal/locale/Tests/LocaleStringTest.php +++ b/core/modules/locale/lib/Drupal/locale/Tests/LocaleStringTest.php @@ -27,7 +27,7 @@ class LocaleStringTest extends WebTestBase { /** * The locale storage. * - * @var Drupal\locale\StringStorageInterface + * @var \Drupal\locale\StringStorageInterface */ protected $storage; diff --git a/core/modules/locale/lib/Drupal/locale/TranslationString.php b/core/modules/locale/lib/Drupal/locale/TranslationString.php index 498dd663e29..eabedd9d492 100644 --- a/core/modules/locale/lib/Drupal/locale/TranslationString.php +++ b/core/modules/locale/lib/Drupal/locale/TranslationString.php @@ -63,7 +63,7 @@ class TranslationString extends StringBase { * @param bool $customized * (optional) Whether the string is customized or not. Defaults to TRUE. * - * @return Drupal\locale\TranslationString + * @return \Drupal\locale\TranslationString * The called object. */ public function setCustomized($customized = TRUE) { diff --git a/core/modules/menu_link/lib/Drupal/menu_link/MenuLinkStorageController.php b/core/modules/menu_link/lib/Drupal/menu_link/MenuLinkStorageController.php index 1fa6140d38b..e3ddabdf5d5 100644 --- a/core/modules/menu_link/lib/Drupal/menu_link/MenuLinkStorageController.php +++ b/core/modules/menu_link/lib/Drupal/menu_link/MenuLinkStorageController.php @@ -253,7 +253,7 @@ class MenuLinkStorageController extends DatabaseStorageController implements Men if (!empty($this->entityInfo['class'])) { // We provide the necessary arguments for PDO to create objects of the // specified entity class. - // @see Drupal\Core\Entity\EntityInterface::__construct() + // @see \Drupal\Core\Entity\EntityInterface::__construct() $query_result->setFetchMode(\PDO::FETCH_CLASS, $this->entityInfo['class'], array(array(), $this->entityType)); } diff --git a/core/modules/node/node.api.php b/core/modules/node/node.api.php index 37602335a3e..d21721791a9 100644 --- a/core/modules/node/node.api.php +++ b/core/modules/node/node.api.php @@ -542,7 +542,7 @@ function hook_node_load($nodes, $types) { * the default home page at path 'node', a recent content block, etc.) See * @link node_access Node access rights @endlink for a full explanation. * - * @param Drupal\Core\Entity\EntityInterface|string $node + * @param \Drupal\Core\Entity\EntityInterface|string $node * Either a node entity or the machine name of the content type on which to * perform the access check. * @param string $op diff --git a/core/modules/node/node.module b/core/modules/node/node.module index 0dcda45c016..fcfc94c7f08 100644 --- a/core/modules/node/node.module +++ b/core/modules/node/node.module @@ -515,7 +515,7 @@ function node_type_update_nodes($old_id, $new_id) { * An array of node entities indexed by nid. * * @see entity_load_multiple() - * @see Drupal\Core\Entity\Query\EntityQueryInterface + * @see \Drupal\Core\Entity\Query\EntityQueryInterface */ function node_load_multiple(array $nids = NULL, $reset = FALSE) { return entity_load_multiple('node', $nids, $reset); @@ -1600,7 +1600,7 @@ function node_form_system_themes_admin_form_submit($form, &$form_state) { * - "update" * - "delete" * - "create" - * @param Drupal\Core\Entity\EntityInterface|string|stdClass $node + * @param \Drupal\Core\Entity\EntityInterface|string|stdClass $node * The node entity on which the operation is to be performed, or the node type * object, or node type string (e.g., 'forum') for the 'create' operation. * @param $account diff --git a/core/modules/search/lib/Drupal/search/Plugin/views/filter/Search.php b/core/modules/search/lib/Drupal/search/Plugin/views/filter/Search.php index 0ee63e49888..7d9f6cc8dcd 100644 --- a/core/modules/search/lib/Drupal/search/Plugin/views/filter/Search.php +++ b/core/modules/search/lib/Drupal/search/Plugin/views/filter/Search.php @@ -28,7 +28,7 @@ class Search extends FilterPluginBase { * This value extends the query extender to be able to provide methods * which returns the protected values. * - * @var Drupal\search\ViewsSearchQuery + * @var \Drupal\search\ViewsSearchQuery */ var $search_query = NULL; diff --git a/core/modules/search/lib/Drupal/search/ViewsSearchQuery.php b/core/modules/search/lib/Drupal/search/ViewsSearchQuery.php index 8f6b295d125..0690551c423 100644 --- a/core/modules/search/lib/Drupal/search/ViewsSearchQuery.php +++ b/core/modules/search/lib/Drupal/search/ViewsSearchQuery.php @@ -64,7 +64,7 @@ class ViewsSearchQuery extends SearchQuery { * The searched value. * @param string $replace * The value which replaces the search value. - * @param Drupal\Core\Database\Query\Condition $condition + * @param \Drupal\Core\Database\Query\Condition $condition * The query condition in which the string is replaced. */ function condition_replace_string($search, $replace, &$condition) { diff --git a/core/modules/serialization/tests/serialization_test/lib/Drupal/serialization_test/SerializationTestEncoder.php b/core/modules/serialization/tests/serialization_test/lib/Drupal/serialization_test/SerializationTestEncoder.php index 7d15f30817e..c3e6aa04973 100644 --- a/core/modules/serialization/tests/serialization_test/lib/Drupal/serialization_test/SerializationTestEncoder.php +++ b/core/modules/serialization/tests/serialization_test/lib/Drupal/serialization_test/SerializationTestEncoder.php @@ -22,7 +22,7 @@ class SerializationTestEncoder implements EncoderInterface { * Implements \Symfony\Component\Serializer\Encoder\EncoderInterface::encode(). */ public function encode($data, $format, array $context = array()) { - // @see Drupal\serialization_test\SerializationTestNormalizer::normalize(). + // @see \Drupal\serialization_test\SerializationTestNormalizer::normalize(). return 'Normalized by ' . $data['normalized_by'] . ', Encoded by SerializationTestEncoder'; } diff --git a/core/modules/simpletest/lib/Drupal/simpletest/DrupalUnitTestBase.php b/core/modules/simpletest/lib/Drupal/simpletest/DrupalUnitTestBase.php index 656aebc5184..85419d37cf2 100644 --- a/core/modules/simpletest/lib/Drupal/simpletest/DrupalUnitTestBase.php +++ b/core/modules/simpletest/lib/Drupal/simpletest/DrupalUnitTestBase.php @@ -25,8 +25,8 @@ use Symfony\Component\DependencyInjection\ContainerInterface; * Additional modules needed in a test may be loaded and added to the fixed * module list. * - * @see DrupalUnitTestBase::$modules - * @see DrupalUnitTestBase::enableModules() + * @see \DrupalUnitTestBase::$modules + * @see \DrupalUnitTestBase::enableModules() */ abstract class DrupalUnitTestBase extends UnitTestBase { @@ -44,8 +44,8 @@ abstract class DrupalUnitTestBase extends UnitTestBase { * Unlike WebTestBase::setUp(), the specified modules are loaded only, but not * automatically installed. Modules need to be installed manually, if needed. * - * @see DrupalUnitTestBase::enableModules() - * @see DrupalUnitTestBase::setUp() + * @see \DrupalUnitTestBase::enableModules() + * @see \DrupalUnitTestBase::setUp() * * @var array */ @@ -73,8 +73,8 @@ abstract class DrupalUnitTestBase extends UnitTestBase { /** * Sets up Drupal unit test environment. * - * @see DrupalUnitTestBase::$modules - * @see DrupalUnitTestBase + * @see \DrupalUnitTestBase::$modules + * @see \DrupalUnitTestBase */ protected function setUp() { // Copy/prime extension file lists once to avoid filesystem scans. @@ -136,9 +136,9 @@ abstract class DrupalUnitTestBase extends UnitTestBase { * that need to persist a DrupalKernel reboot. This method is called whenever * the kernel is rebuilt. * - * @see DrupalUnitTestBase::setUp() - * @see DrupalUnitTestBase::enableModules() - * @see DrupalUnitTestBase::disableModules() + * @see \DrupalUnitTestBase::setUp() + * @see \DrupalUnitTestBase::enableModules() + * @see \DrupalUnitTestBase::disableModules() */ public function containerBuild(ContainerBuilder $container) { global $conf; diff --git a/core/modules/system/entity.api.php b/core/modules/system/entity.api.php index 3653cb2c2aa..e44f2d30977 100644 --- a/core/modules/system/entity.api.php +++ b/core/modules/system/entity.api.php @@ -278,7 +278,7 @@ function hook_entity_load($entities, $entity_type) { /** * Act on an entity before it is about to be created or updated. * - * @param Drupal\Core\Entity\EntityInterface $entity + * @param \Drupal\Core\Entity\EntityInterface $entity * The entity object. */ function hook_entity_presave(Drupal\Core\Entity\EntityInterface $entity) { @@ -288,7 +288,7 @@ function hook_entity_presave(Drupal\Core\Entity\EntityInterface $entity) { /** * Act on entities when inserted. * - * @param Drupal\Core\Entity\EntityInterface $entity + * @param \Drupal\Core\Entity\EntityInterface $entity * The entity object. */ function hook_entity_insert(Drupal\Core\Entity\EntityInterface $entity) { @@ -306,7 +306,7 @@ function hook_entity_insert(Drupal\Core\Entity\EntityInterface $entity) { /** * Act on entities when updated. * - * @param Drupal\Core\Entity\EntityInterface $entity + * @param \Drupal\Core\Entity\EntityInterface $entity * The entity object. */ function hook_entity_update(Drupal\Core\Entity\EntityInterface $entity) { @@ -354,7 +354,7 @@ function hook_entity_translation_delete(\Drupal\Core\Entity\EntityInterface $tra * * This hook runs after the entity type-specific predelete hook. * - * @param Drupal\Core\Entity\EntityInterface $entity + * @param \Drupal\Core\Entity\EntityInterface $entity * The entity object for the entity that is about to be deleted. */ function hook_entity_predelete(Drupal\Core\Entity\EntityInterface $entity) { @@ -383,7 +383,7 @@ function hook_entity_predelete(Drupal\Core\Entity\EntityInterface $entity) { * * This hook runs after the entity type-specific delete hook. * - * @param Drupal\Core\Entity\EntityInterface $entity + * @param \Drupal\Core\Entity\EntityInterface $entity * The entity object for the entity that has been deleted. */ function hook_entity_delete(Drupal\Core\Entity\EntityInterface $entity) { @@ -399,7 +399,7 @@ function hook_entity_delete(Drupal\Core\Entity\EntityInterface $entity) { * * This hook runs after the entity type-specific revision delete hook. * - * @param Drupal\Core\Entity\EntityInterface $entity + * @param \Drupal\Core\Entity\EntityInterface $entity * The entity object for the entity revision that has been deleted. */ function hook_entity_revision_delete(Drupal\Core\Entity\EntityInterface $entity) { @@ -470,7 +470,7 @@ function hook_entity_view(\Drupal\Core\Entity\EntityInterface $entity, \Drupal\e * * @param $build * A renderable array representing the entity content. - * @param Drupal\Core\Entity\EntityInterface $entity + * @param \Drupal\Core\Entity\EntityInterface $entity * The entity object being rendered. * @param \Drupal\entity\Entity\EntityDisplay $display * The entity_display object holding the display options configured for the @@ -535,7 +535,7 @@ function hook_entity_prepare_view($entity_type, array $entities, array $displays * * @param string $view_mode * The view_mode that is to be used to display the entity. - * @param Drupal\Core\Entity\EntityInterface $entity + * @param \Drupal\Core\Entity\EntityInterface $entity * The entity that is being viewed. * @param array $context * Array with additional context information, currently only contains the diff --git a/core/modules/system/lib/Drupal/system/Tests/Cache/GenericCacheBackendUnitTestBase.php b/core/modules/system/lib/Drupal/system/Tests/Cache/GenericCacheBackendUnitTestBase.php index 9f2afc152ab..ebeb0ca2645 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Cache/GenericCacheBackendUnitTestBase.php +++ b/core/modules/system/lib/Drupal/system/Tests/Cache/GenericCacheBackendUnitTestBase.php @@ -67,7 +67,7 @@ abstract class GenericCacheBackendUnitTestBase extends DrupalUnitTestBase { * @param string $bin * Bin name to use for this backend instance. * - * @return Drupal\Core\Cache\CacheBackendInterface + * @return \Drupal\Core\Cache\CacheBackendInterface * Cache backend to test. */ protected abstract function createCacheBackend($bin); @@ -90,7 +90,7 @@ abstract class GenericCacheBackendUnitTestBase extends DrupalUnitTestBase { /** * Gets a backend to test; this will get a shared instance set in the object. * - * @return Drupal\Core\Cache\CacheBackendInterface + * @return \Drupal\Core\Cache\CacheBackendInterface * Cache backend to test. */ final function getCacheBackend($bin = null) { diff --git a/core/modules/system/lib/Drupal/system/Tests/Common/RenderTest.php b/core/modules/system/lib/Drupal/system/Tests/Common/RenderTest.php index 4a871d510d6..94ddd11442b 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Common/RenderTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Common/RenderTest.php @@ -534,7 +534,7 @@ class RenderTest extends WebTestBase { . '<hr />' . $this->drupalGetContent() ); - // @see Drupal\simpletest\WebTestBase::xpath() + // @see \Drupal\simpletest\WebTestBase::xpath() $xpath = $this->buildXPathQuery($xpath, $xpath_args); $element += array('#value' => NULL); $this->assertFieldByXPath($xpath, $element['#value'], format_string('#type @type was properly rendered.', array( diff --git a/core/modules/system/lib/Drupal/system/Tests/Database/FetchTest.php b/core/modules/system/lib/Drupal/system/Tests/Database/FetchTest.php index 0116063d97d..d58746d16bc 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Database/FetchTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Database/FetchTest.php @@ -74,7 +74,7 @@ class FetchTest extends DatabaseTestBase { /** * Confirms that we can fetch a record into a new instance of a custom class. * - * @see Drupal\system\Tests\Database\FakeRecord + * @see \Drupal\system\Tests\Database\FakeRecord */ function testQueryFetchClass() { $records = array(); diff --git a/core/modules/system/lib/Drupal/system/Tests/KeyValueStore/StorageTestBase.php b/core/modules/system/lib/Drupal/system/Tests/KeyValueStore/StorageTestBase.php index 8ce534a09f1..6ae1a86251b 100644 --- a/core/modules/system/lib/Drupal/system/Tests/KeyValueStore/StorageTestBase.php +++ b/core/modules/system/lib/Drupal/system/Tests/KeyValueStore/StorageTestBase.php @@ -207,8 +207,8 @@ abstract class StorageTestBase extends UnitTestBase { * destructed, after tearDown() has deleted the database tables. Instead, * create the storage objects locally in each test using this method. * - * @see Drupal\system\Tests\KeyValueStore\DatabaseStorageExpirable - * @see Drupal\Core\KeyValueStore\DatabaseStorageExpirable::garbageCollection() + * @see \Drupal\system\Tests\KeyValueStore\DatabaseStorageExpirable + * @see \Drupal\Core\KeyValueStore\DatabaseStorageExpirable::garbageCollection() */ protected function createStorage() { $stores = array(); diff --git a/core/modules/system/lib/Drupal/system/Tests/Mail/MailTest.php b/core/modules/system/lib/Drupal/system/Tests/Mail/MailTest.php index 049cc31915a..4326c96def1 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Mail/MailTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Mail/MailTest.php @@ -101,7 +101,7 @@ class MailTest extends WebTestBase implements MailInterface { /** * Concatenate and wrap the e-mail body for plain-text mails. * - * @see Drupal\Core\Mail\PhpMail + * @see \Drupal\Core\Mail\PhpMail */ public function format(array $message) { // Join the body array into one string. diff --git a/core/modules/system/lib/Drupal/system/Tests/Path/UrlAliasFixtures.php b/core/modules/system/lib/Drupal/system/Tests/Path/UrlAliasFixtures.php index a51e3bf1f31..777ffb18683 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Path/UrlAliasFixtures.php +++ b/core/modules/system/lib/Drupal/system/Tests/Path/UrlAliasFixtures.php @@ -12,7 +12,7 @@ class UrlAliasFixtures { /** * Create the tables required for the sample data. * - * @param Drupal\Core\Database\Connection $connection + * @param \Drupal\Core\Database\Connection $connection * The connection to use to create the tables. */ public function createTables(Connection $connection) { @@ -28,7 +28,7 @@ class UrlAliasFixtures { /** * Drop the tables used for the sample data. * - * @param Drupal\Core\Database\Connection $connection + * @param \Drupal\Core\Database\Connection $connection * The connection to use to drop the tables. */ public function dropTables(Connection $connection) { diff --git a/core/modules/system/lib/Drupal/system/Tests/Plugin/AlterDecoratorTest.php b/core/modules/system/lib/Drupal/system/Tests/Plugin/AlterDecoratorTest.php index bcbf8b46f26..ce35689558b 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Plugin/AlterDecoratorTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Plugin/AlterDecoratorTest.php @@ -27,7 +27,7 @@ class AlterDecoratorTest extends WebTestBase { /** * Stores a plugin manager which uses the AlterDecorator. * - * @var Drupal\plugin_test\Plugin\AlterDecoratorTestPluginManager; + * @var \Drupal\plugin_test\Plugin\AlterDecoratorTestPluginManager; */ protected $alterTestPluginManager; diff --git a/core/modules/system/lib/Drupal/system/Tests/Queue/QueueTest.php b/core/modules/system/lib/Drupal/system/Tests/Queue/QueueTest.php index fe38f35bb61..5161f56ef90 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Queue/QueueTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Queue/QueueTest.php @@ -62,9 +62,9 @@ class QueueTest extends DrupalUnitTestBase { /** * Queues and dequeues a set of items to check the basic queue functionality. * - * @param Drupal\Core\Queue\QueueInterface $queue1 + * @param \Drupal\Core\Queue\QueueInterface $queue1 * An instantiated queue object. - * @param Drupal\Core\Queue\QueueInterface $queue2 + * @param \Drupal\Core\Queue\QueueInterface $queue2 * An instantiated queue object. */ protected function queueTest($queue1, $queue2) { diff --git a/core/modules/system/lib/Drupal/system/Tests/Routing/RoutingFixtures.php b/core/modules/system/lib/Drupal/system/Tests/Routing/RoutingFixtures.php index 3cebc5f5d46..06f09530009 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Routing/RoutingFixtures.php +++ b/core/modules/system/lib/Drupal/system/Tests/Routing/RoutingFixtures.php @@ -15,7 +15,7 @@ class RoutingFixtures { /** * Create the tables required for the sample data. * - * @param Drupal\Core\Database\Connection $connection + * @param \Drupal\Core\Database\Connection $connection * The connection to use to create the tables. */ public function createTables(Connection $connection) { @@ -31,7 +31,7 @@ class RoutingFixtures { /** * Drop the tables used for the sample data. * - * @param Drupal\Core\Database\Connection $connection + * @param \Drupal\Core\Database\Connection $connection * The connection to use to drop the tables. */ public function dropTables(Connection $connection) { diff --git a/core/modules/system/lib/Drupal/system/Tests/Theme/EntityFilteringThemeTest.php b/core/modules/system/lib/Drupal/system/Tests/Theme/EntityFilteringThemeTest.php index e05a51441ba..411f6fee6ca 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Theme/EntityFilteringThemeTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/Theme/EntityFilteringThemeTest.php @@ -34,7 +34,7 @@ class EntityFilteringThemeTest extends WebTestBase { /** * A test user. * - * @var Drupal\user\User + * @var \Drupal\user\User */ protected $user; @@ -42,7 +42,7 @@ class EntityFilteringThemeTest extends WebTestBase { /** * A test node. * - * @var Drupal\node\Node + * @var \Drupal\node\Node */ protected $node; @@ -50,7 +50,7 @@ class EntityFilteringThemeTest extends WebTestBase { /** * A test taxonomy term. * - * @var Drupal\taxonomy\Term + * @var \Drupal\taxonomy\Term */ protected $term; @@ -58,7 +58,7 @@ class EntityFilteringThemeTest extends WebTestBase { /** * A test comment. * - * @var Drupal\comment\Comment + * @var \Drupal\comment\Comment */ protected $comment; diff --git a/core/modules/system/lib/Drupal/system/Tests/TypedData/TypedDataTest.php b/core/modules/system/lib/Drupal/system/Tests/TypedData/TypedDataTest.php index d0d61fa1f1d..f8b53060ca3 100644 --- a/core/modules/system/lib/Drupal/system/Tests/TypedData/TypedDataTest.php +++ b/core/modules/system/lib/Drupal/system/Tests/TypedData/TypedDataTest.php @@ -48,7 +48,7 @@ class TypedDataTest extends DrupalUnitTestBase { /** * Creates a typed data object and ensures it implements TypedDataInterface. * - * @see Drupal\Core\TypedData\TypedDataManager::create(). + * @see \Drupal\Core\TypedData\TypedDataManager::create(). */ protected function createTypedData($definition, $value = NULL, $name = NULL) { $data = $this->typedData->create($definition, $value, $name); diff --git a/core/modules/system/lib/Drupal/system/Tests/Upgrade/UpgradePathTestBase.php b/core/modules/system/lib/Drupal/system/Tests/Upgrade/UpgradePathTestBase.php index c8b4cd3e765..d72ed54e0ae 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Upgrade/UpgradePathTestBase.php +++ b/core/modules/system/lib/Drupal/system/Tests/Upgrade/UpgradePathTestBase.php @@ -84,9 +84,9 @@ abstract class UpgradePathTestBase extends WebTestBase { /** * Overrides Drupal\simpletest\WebTestBase::setUp() for upgrade testing. * - * @see Drupal\simpletest\WebTestBase::prepareDatabasePrefix() - * @see Drupal\simpletest\WebTestBase::changeDatabasePrefix() - * @see Drupal\simpletest\WebTestBase::prepareEnvironment() + * @see \Drupal\simpletest\WebTestBase::prepareDatabasePrefix() + * @see \Drupal\simpletest\WebTestBase::changeDatabasePrefix() + * @see \Drupal\simpletest\WebTestBase::prepareEnvironment() */ protected function setUp() { global $user, $conf; diff --git a/core/modules/system/system.api.php b/core/modules/system/system.api.php index f2b01165a28..621d54691b7 100644 --- a/core/modules/system/system.api.php +++ b/core/modules/system/system.api.php @@ -2528,7 +2528,7 @@ function hook_install() { * @param $sandbox * Stores information for multipass updates. See above for more information. * - * @throws Drupal\Core\Utility\UpdateException, PDOException + * @throws \Drupal\Core\Utility\UpdateException, PDOException * In case of error, update hooks should throw an instance of * Drupal\Core\Utility\UpdateException with a meaningful message for the user. * If a database query fails for whatever reason, it will throw a @@ -3354,7 +3354,7 @@ function hook_countries_alter(&$countries) { * - 'weight': Optional. Integer weight used for sorting connection types on * the authorize.php form. * - * @see Drupal\Core\FileTransfer\FileTransfer + * @see \Drupal\Core\FileTransfer\FileTransfer * @see authorize.php * @see hook_filetransfer_info_alter() * @see drupal_get_filetransfer_info() diff --git a/core/modules/system/system.module b/core/modules/system/system.module index 2337ae72cba..ffc2d309496 100644 --- a/core/modules/system/system.module +++ b/core/modules/system/system.module @@ -2045,7 +2045,7 @@ function _system_themes_access($theme) { * as a Batch API processing page, if the operation requires a batch. * * @see authorize.php - * @see Drupal\Core\FileTransfer\FileTransfer + * @see \Drupal\Core\FileTransfer\FileTransfer * @see hook_filetransfer_info() */ @@ -2418,7 +2418,7 @@ function system_get_info($type, $name = NULL) { * Only modules with the property specified in their .info.yml file will be * returned. * - * @see Drupal\Core\Utility\ModuleInfo + * @see \Drupal\Core\Utility\ModuleInfo */ function system_get_module_info($property) { static $info; diff --git a/core/modules/system/tests/modules/common_test/js/shorthand.js b/core/modules/system/tests/modules/common_test/js/shorthand.js index 737d9d7f03b..7f3b1d508e0 100644 --- a/core/modules/system/tests/modules/common_test/js/shorthand.js +++ b/core/modules/system/tests/modules/common_test/js/shorthand.js @@ -5,5 +5,5 @@ * JavaScript (and CSS) files in the shorthand format using hook_library_info(). * * @see common_test_library_info() - * @see Drupal/system/Tests/Common/JavaScriptTest::testLibraryRender() + * @see \Drupal/system/Tests/Common/JavaScriptTest::testLibraryRender() */ diff --git a/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/CachedMockBlockManager.php b/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/CachedMockBlockManager.php index cc5b5166fcb..9928a570714 100644 --- a/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/CachedMockBlockManager.php +++ b/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/CachedMockBlockManager.php @@ -18,7 +18,7 @@ class CachedMockBlockManager extends MockBlockManager { /** * Adds a cache decorator to the MockBlockManager's discovery. * - * @see Drupal\plugin_test\Plugin\MockBlockManager::__construct(). + * @see \Drupal\plugin_test\Plugin\MockBlockManager::__construct(). */ public function __construct() { parent::__construct(); diff --git a/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/mock_block/MockLayoutBlock.php b/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/mock_block/MockLayoutBlock.php index 4e8a2f56206..4fd0ba580ce 100644 --- a/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/mock_block/MockLayoutBlock.php +++ b/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/mock_block/MockLayoutBlock.php @@ -14,9 +14,9 @@ use Drupal\Component\Plugin\PluginBase; * * No implementation here as there are no tests for this yet. * - * @see Drupal\plugin_test\Plugin\MockBlockManager - * @see Drupal\plugin_test\Plugin\plugin_test\mock_block\MockUserLoginBlock - * @see Drupal\plugin_test\Plugin\plugin_test\mock_block\MockMenuBlock + * @see \Drupal\plugin_test\Plugin\MockBlockManager + * @see \Drupal\plugin_test\Plugin\plugin_test\mock_block\MockUserLoginBlock + * @see \Drupal\plugin_test\Plugin\plugin_test\mock_block\MockMenuBlock */ class MockLayoutBlock extends PluginBase { } diff --git a/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/mock_block/MockLayoutBlockDeriver.php b/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/mock_block/MockLayoutBlockDeriver.php index 2348b7558c0..dea1f294c5e 100644 --- a/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/mock_block/MockLayoutBlockDeriver.php +++ b/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/mock_block/MockLayoutBlockDeriver.php @@ -12,7 +12,7 @@ use Drupal\Component\Plugin\Derivative\DerivativeInterface; /** * Mock implementation of DerivativeInterface for the mock layout block plugin. * - * @see Drupal\plugin_test\Plugin\MockBlockManager + * @see \Drupal\plugin_test\Plugin\MockBlockManager */ class MockLayoutBlockDeriver implements DerivativeInterface { diff --git a/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/mock_block/MockMenuBlock.php b/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/mock_block/MockMenuBlock.php index 84ec835bfcd..85feb7babad 100644 --- a/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/mock_block/MockMenuBlock.php +++ b/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/mock_block/MockMenuBlock.php @@ -12,7 +12,7 @@ use Drupal\Component\Plugin\PluginBase; /** * Mock implementation of a menu block plugin used by Plugin API unit tests. * - * @see Drupal\plugin_test\Plugin\MockBlockManager + * @see \Drupal\plugin_test\Plugin\MockBlockManager */ class MockMenuBlock { diff --git a/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/mock_block/MockMenuBlockDeriver.php b/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/mock_block/MockMenuBlockDeriver.php index 6b33d13a3f8..6f102517356 100644 --- a/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/mock_block/MockMenuBlockDeriver.php +++ b/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/mock_block/MockMenuBlockDeriver.php @@ -12,7 +12,7 @@ use Drupal\Component\Plugin\Derivative\DerivativeInterface; /** * Mock implementation of DerivativeInterface for the mock menu block plugin. * - * @see Drupal\plugin_test\Plugin\MockBlockManager + * @see \Drupal\plugin_test\Plugin\MockBlockManager */ class MockMenuBlockDeriver implements DerivativeInterface { diff --git a/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/mock_block/MockTestBlock.php b/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/mock_block/MockTestBlock.php index 04617da433a..d54f2585b60 100644 --- a/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/mock_block/MockTestBlock.php +++ b/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/mock_block/MockTestBlock.php @@ -12,7 +12,7 @@ use Drupal\Component\Plugin\PluginBase; /** * Mock implementation of a test block plugin used by Plugin API unit tests. * - * @see Drupal\plugin_test\Plugin\DefaultsTestPluginManager + * @see \Drupal\plugin_test\Plugin\DefaultsTestPluginManager */ class MockTestBlock extends PluginBase { diff --git a/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/mock_block/MockUserLoginBlock.php b/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/mock_block/MockUserLoginBlock.php index 8fe8bade683..9c7dd58cc49 100644 --- a/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/mock_block/MockUserLoginBlock.php +++ b/core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/mock_block/MockUserLoginBlock.php @@ -12,7 +12,7 @@ use Drupal\Component\Plugin\PluginBase; /** * Mock implementation of a login block plugin used by Plugin API unit tests. * - * @see Drupal\plugin_test\Plugin\MockBlockManager + * @see \Drupal\plugin_test\Plugin\MockBlockManager */ class MockUserLoginBlock extends PluginBase { diff --git a/core/modules/system/tests/modules/system_test/lib/Drupal/system_test/MockFileTransfer.php b/core/modules/system/tests/modules/system_test/lib/Drupal/system_test/MockFileTransfer.php index ee05598e5a5..900e0be4fa1 100644 --- a/core/modules/system/tests/modules/system_test/lib/Drupal/system_test/MockFileTransfer.php +++ b/core/modules/system/tests/modules/system_test/lib/Drupal/system_test/MockFileTransfer.php @@ -15,7 +15,7 @@ class MockFileTransfer { /** * Returns a Drupal\system_test\MockFileTransfer object. * - * @return Drupal\system_test\MockFileTransfer + * @return \Drupal\system_test\MockFileTransfer * A new Drupal\system_test\MockFileTransfer object. */ public static function factory() { diff --git a/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/Views/TaxonomyTestBase.php b/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/Views/TaxonomyTestBase.php index 3209d33a7f7..6e7d3932abb 100644 --- a/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/Views/TaxonomyTestBase.php +++ b/core/modules/taxonomy/lib/Drupal/taxonomy/Tests/Views/TaxonomyTestBase.php @@ -33,14 +33,14 @@ abstract class TaxonomyTestBase extends ViewTestBase { /** * Stores the first term used in the different tests. * - * @var Drupal\taxonomy\Term + * @var \Drupal\taxonomy\Term */ protected $term1; /** * Stores the second term used in the different tests. * - * @var Drupal\taxonomy\Term + * @var \Drupal\taxonomy\Term */ protected $term2; @@ -123,7 +123,7 @@ abstract class TaxonomyTestBase extends ViewTestBase { /** * Returns a new term with random properties in vocabulary $vid. * - * @return Drupal\taxonomy\Term + * @return \Drupal\taxonomy\Term * The created taxonomy term. */ protected function createTerm() { diff --git a/core/modules/taxonomy/taxonomy.api.php b/core/modules/taxonomy/taxonomy.api.php index 17ec07f929b..bb1e932d3be 100644 --- a/core/modules/taxonomy/taxonomy.api.php +++ b/core/modules/taxonomy/taxonomy.api.php @@ -52,7 +52,7 @@ function hook_taxonomy_vocabulary_load(array $vocabularies) { * Modules implementing this hook can act on the vocabulary object before it is * inserted or updated. * - * @param Drupal\taxonomy\Entity\Vocabulary $vocabulary + * @param \Drupal\taxonomy\Entity\Vocabulary $vocabulary * A taxonomy vocabulary entity. */ function hook_taxonomy_vocabulary_presave(Drupal\taxonomy\Entity\Vocabulary $vocabulary) { @@ -65,7 +65,7 @@ function hook_taxonomy_vocabulary_presave(Drupal\taxonomy\Entity\Vocabulary $voc * Modules implementing this hook can act on the vocabulary object when saved * to the database. * - * @param Drupal\taxonomy\Entity\Vocabulary $vocabulary + * @param \Drupal\taxonomy\Entity\Vocabulary $vocabulary * A taxonomy vocabulary entity. */ function hook_taxonomy_vocabulary_insert(Drupal\taxonomy\Entity\Vocabulary $vocabulary) { @@ -79,7 +79,7 @@ function hook_taxonomy_vocabulary_insert(Drupal\taxonomy\Entity\Vocabulary $voca * * Modules implementing this hook can act on the vocabulary object when updated. * - * @param Drupal\taxonomy\Entity\Vocabulary $vocabulary + * @param \Drupal\taxonomy\Entity\Vocabulary $vocabulary * A taxonomy vocabulary entity. */ function hook_taxonomy_vocabulary_update(Drupal\taxonomy\Entity\Vocabulary $vocabulary) { @@ -95,7 +95,7 @@ function hook_taxonomy_vocabulary_update(Drupal\taxonomy\Entity\Vocabulary $voca * This hook is invoked before entity_bundle_delete() is called and before * the vocabulary is actually removed. * - * @param Drupal\taxonomy\Entity\Vocabulary $vocabulary + * @param \Drupal\taxonomy\Entity\Vocabulary $vocabulary * The taxonomy vocabulary entity that is about to be deleted. * * @see hook_taxonomy_vocabulary_delete() @@ -112,7 +112,7 @@ function hook_taxonomy_vocabulary_predelete(Drupal\taxonomy\Entity\Vocabulary $v * This hook is invoked after entity_bundle_delete() has been called and after * the vocabulary has been removed. * - * @param Drupal\taxonomy\Entity\Vocabulary $vocabulary + * @param \Drupal\taxonomy\Entity\Vocabulary $vocabulary * The taxonomy vocabulary entity that has been deleted. * * @see hook_taxonomy_vocabulary_predelete() @@ -170,7 +170,7 @@ function hook_taxonomy_term_load(array $terms) { * Modules implementing this hook can act on the term object before it is * inserted or updated. * - * @param Drupal\taxonomy\Term $term + * @param \Drupal\taxonomy\Term $term * A taxonomy term entity. */ function hook_taxonomy_term_presave(Drupal\taxonomy\Term $term) { @@ -183,7 +183,7 @@ function hook_taxonomy_term_presave(Drupal\taxonomy\Term $term) { * Modules implementing this hook can act on the term object when saved to * the database. * - * @param Drupal\taxonomy\Term $term + * @param \Drupal\taxonomy\Term $term * A taxonomy term entity. */ function hook_taxonomy_term_insert(Drupal\taxonomy\Term $term) { @@ -200,7 +200,7 @@ function hook_taxonomy_term_insert(Drupal\taxonomy\Term $term) { * * Modules implementing this hook can act on the term object when updated. * - * @param Drupal\taxonomy\Term $term + * @param \Drupal\taxonomy\Term $term * A taxonomy term entity. */ function hook_taxonomy_term_update(Drupal\taxonomy\Term $term) { @@ -216,7 +216,7 @@ function hook_taxonomy_term_update(Drupal\taxonomy\Term $term) { * This hook is invoked from taxonomy term deletion before field values are * deleted and before the term is actually removed from the database. * - * @param Drupal\taxonomy\Term $term + * @param \Drupal\taxonomy\Term $term * The taxonomy term entity that is about to be deleted. */ function hook_taxonomy_term_predelete(Drupal\taxonomy\Term $term) { @@ -231,7 +231,7 @@ function hook_taxonomy_term_predelete(Drupal\taxonomy\Term $term) { * This hook is invoked from taxonomy term deletion after field values are * deleted and after the term has been removed from the database. * - * @param Drupal\taxonomy\Term $term + * @param \Drupal\taxonomy\Term $term * The taxonomy term entity that has been deleted. */ function hook_taxonomy_term_delete(Drupal\taxonomy\Term $term) { diff --git a/core/modules/taxonomy/taxonomy.module b/core/modules/taxonomy/taxonomy.module index 43cd73746ec..c687da4c204 100644 --- a/core/modules/taxonomy/taxonomy.module +++ b/core/modules/taxonomy/taxonomy.module @@ -371,7 +371,7 @@ function taxonomy_check_vocabulary_hierarchy(VocabularyInterface $vocabulary, $c /** * Generates an array which displays a term detail page. * - * @param Drupal\taxonomy\Entity\Term $term + * @param \Drupal\taxonomy\Entity\Term $term * A taxonomy term object. * @param string $view_mode * View mode, e.g. 'full', 'teaser'... @@ -464,7 +464,7 @@ function template_preprocess_taxonomy_term(&$variables) { /** * Returns whether the current page is the page of the passed-in term. * - * @param Drupal\taxonomy\Entity\Term $term + * @param \Drupal\taxonomy\Entity\Term $term * A taxonomy term entity. */ function taxonomy_term_is_page(Term $term) { @@ -755,7 +755,7 @@ function taxonomy_term_load_multiple_by_name($name, $vocabulary = NULL) { * database access if loaded again during the same page request. * * @see entity_load_multiple() - * @see Drupal\Core\Entity\Query\EntityQueryInterface + * @see \Drupal\Core\Entity\Query\EntityQueryInterface * * @deprecated use entity_load_multiple('taxonomy_term', $tids) instead. * @@ -1014,7 +1014,7 @@ function taxonomy_allowed_values(FieldDefinitionInterface $field_definition, Ent /** * Title callback for term pages. * - * @param Drupal\taxonomy\Entity\Term $term + * @param \Drupal\taxonomy\Entity\Term $term * A taxonomy term entity. * * @return @@ -1029,7 +1029,7 @@ function taxonomy_term_title(Term $term) { */ function taxonomy_autocomplete_validate($element, &$form_state) { // Split the values into an array. - // @see Drupal\taxonomy\Plugin\field\widget\TaxonomyAutocompleteWidget:massageFormValues() + // @see \Drupal\taxonomy\Plugin\field\widget\TaxonomyAutocompleteWidget:massageFormValues() $typed_terms = array(); if ($tags = $element['#value']) { $typed_terms = drupal_explode_tags($tags); diff --git a/core/modules/taxonomy/taxonomy.pages.inc b/core/modules/taxonomy/taxonomy.pages.inc index 956bc71e199..69e0855727d 100644 --- a/core/modules/taxonomy/taxonomy.pages.inc +++ b/core/modules/taxonomy/taxonomy.pages.inc @@ -10,7 +10,7 @@ use Drupal\taxonomy\Entity\Term; /** * Menu callback; displays all nodes associated with a term. * - * @param Drupal\taxonomy\Entity\Term $term + * @param \Drupal\taxonomy\Entity\Term $term * The taxonomy term entity. * * @deprecated Use \Drupal\taxonomy\Controller\TaxonomyController::termPage() @@ -65,7 +65,7 @@ function taxonomy_term_page(Term $term) { /** * Generate the content feed for a taxonomy term. * - * @param Drupal\taxonomy\Entity\Term $term + * @param \Drupal\taxonomy\Entity\Term $term * The taxonomy term entity. * * @deprecated Use \Drupal\taxonomy\Controller\TaxonomyController::termFeed() diff --git a/core/modules/text/lib/Drupal/text/Plugin/field/formatter/TextTrimmedFormatter.php b/core/modules/text/lib/Drupal/text/Plugin/field/formatter/TextTrimmedFormatter.php index 84a9e7e47de..7e409ae6589 100644 --- a/core/modules/text/lib/Drupal/text/Plugin/field/formatter/TextTrimmedFormatter.php +++ b/core/modules/text/lib/Drupal/text/Plugin/field/formatter/TextTrimmedFormatter.php @@ -18,7 +18,7 @@ use Drupal\Core\Entity\Field\FieldItemListInterface; * Note: This class also contains the implementations used by the * 'text_summary_or_trimmed' formatter. * - * @see Drupal\text\Field\Formatter\TextSummaryOrTrimmedFormatter + * @see \Drupal\text\Field\Formatter\TextSummaryOrTrimmedFormatter * * @FieldFormatter( * id = "text_trimmed", diff --git a/core/modules/update/tests/modules/update_test/lib/Drupal/update_test/MockFileTransfer.php b/core/modules/update/tests/modules/update_test/lib/Drupal/update_test/MockFileTransfer.php index f7a97bf31a1..b47fd6bad4d 100644 --- a/core/modules/update/tests/modules/update_test/lib/Drupal/update_test/MockFileTransfer.php +++ b/core/modules/update/tests/modules/update_test/lib/Drupal/update_test/MockFileTransfer.php @@ -15,7 +15,7 @@ class MockFileTransfer { /** * Returns a Drupal\update_test\MockFileTransfer object. * - * @return Drupal\update_test\MockFileTransfer + * @return \Drupal\update_test\MockFileTransfer * A new Drupal\update_test\MockFileTransfer object. */ public static function factory() { diff --git a/core/modules/user/lib/Drupal/user/TempStore.php b/core/modules/user/lib/Drupal/user/TempStore.php index c8a6dd195bb..dd6451c9fa5 100644 --- a/core/modules/user/lib/Drupal/user/TempStore.php +++ b/core/modules/user/lib/Drupal/user/TempStore.php @@ -43,14 +43,14 @@ class TempStore { /** * The key/value storage object used for this data. * - * @var Drupal\Core\KeyValueStore\KeyValueStoreExpireInterface; + * @var \Drupal\Core\KeyValueStore\KeyValueStoreExpireInterface; */ protected $storage; /** * The lock object used for this data. * - * @var Drupal\Core\Lock\LockBackendInterface + * @var \Drupal\Core\Lock\LockBackendInterface */ protected $lockBackend; @@ -80,7 +80,7 @@ class TempStore { * The key/value storage object used for this data. Each storage object * represents a particular collection of data and will contain any number * of key/value pairs. - * @param Drupal\Core\Lock\LockBackendInterface $lockBackend + * @param \Drupal\Core\Lock\LockBackendInterface $lockBackend * The lock object used for this data. * @param mixed $owner * The owner key to store along with the data (e.g. a user or session ID). diff --git a/core/modules/user/lib/Drupal/user/TempStoreFactory.php b/core/modules/user/lib/Drupal/user/TempStoreFactory.php index e7410487d52..45f421ebc10 100644 --- a/core/modules/user/lib/Drupal/user/TempStoreFactory.php +++ b/core/modules/user/lib/Drupal/user/TempStoreFactory.php @@ -19,23 +19,23 @@ class TempStoreFactory { /** * The connection object used for this data. * - * @var Drupal\Core\Database\Connection $connection + * @var \Drupal\Core\Database\Connection $connection */ protected $connection; /** * The lock object used for this data. * - * @var Drupal\Core\Lock\LockBackendInterface $lockBackend + * @var \Drupal\Core\Lock\LockBackendInterface $lockBackend */ protected $lockBackend; /** * Constructs a Drupal\user\TempStoreFactory object. * - * @param Drupal\Core\Database\Connection $connection + * @param \Drupal\Core\Database\Connection $connection * The connection object used for this data. - * @param Drupal\Core\Lock\LockBackendInterface $lockBackend + * @param \Drupal\Core\Lock\LockBackendInterface $lockBackend * The lock object used for this data. */ function __construct(Connection $connection, LockBackendInterface $lockBackend) { @@ -54,7 +54,7 @@ class TempStoreFactory { * owned by the currently authenticated user, or by the active anonymous * session if no user is logged in. * - * @return Drupal\user\TempStore + * @return \Drupal\user\TempStore * An instance of the the key/value store. */ function get($collection, $owner = NULL) { diff --git a/core/modules/user/lib/Drupal/user/Tests/TempStoreDatabaseTest.php b/core/modules/user/lib/Drupal/user/Tests/TempStoreDatabaseTest.php index bbdc3548b6e..28edf55c462 100644 --- a/core/modules/user/lib/Drupal/user/Tests/TempStoreDatabaseTest.php +++ b/core/modules/user/lib/Drupal/user/Tests/TempStoreDatabaseTest.php @@ -15,14 +15,14 @@ use Drupal\Core\Database\Database; /** * Tests the TempStore namespace. * - * @see Drupal\Core\TempStore\TempStore. + * @see \Drupal\Core\TempStore\TempStore. */ class TempStoreDatabaseTest extends UnitTestBase { /** * A key/value store factory. * - * @var Drupal\user\TempStoreFactory + * @var \Drupal\user\TempStoreFactory */ protected $storeFactory; diff --git a/core/modules/user/lib/Drupal/user/Tests/Views/AccessPermissionTest.php b/core/modules/user/lib/Drupal/user/Tests/Views/AccessPermissionTest.php index 21279ff9fe6..aaf5a93e61b 100644 --- a/core/modules/user/lib/Drupal/user/Tests/Views/AccessPermissionTest.php +++ b/core/modules/user/lib/Drupal/user/Tests/Views/AccessPermissionTest.php @@ -12,7 +12,7 @@ use Drupal\user\Plugin\views\access\Permission; /** * Tests views perm access plugin. * - * @see Drupal\user\Plugin\views\access\Permission + * @see \Drupal\user\Plugin\views\access\Permission */ class AccessPermissionTest extends AccessTestBase { diff --git a/core/modules/user/lib/Drupal/user/Tests/Views/AccessRoleTest.php b/core/modules/user/lib/Drupal/user/Tests/Views/AccessRoleTest.php index 4c42a21dba1..72180463811 100644 --- a/core/modules/user/lib/Drupal/user/Tests/Views/AccessRoleTest.php +++ b/core/modules/user/lib/Drupal/user/Tests/Views/AccessRoleTest.php @@ -12,7 +12,7 @@ use Drupal\user\Plugin\views\access\Role; /** * Tests views role access plugin. * - * @see Drupal\user\Plugin\views\access\Role + * @see \Drupal\user\Plugin\views\access\Role */ class AccessRoleTest extends AccessTestBase { diff --git a/core/modules/views/lib/Drupal/views/Entity/View.php b/core/modules/views/lib/Drupal/views/Entity/View.php index f5507e60c7c..a24e53e7aeb 100644 --- a/core/modules/views/lib/Drupal/views/Entity/View.php +++ b/core/modules/views/lib/Drupal/views/Entity/View.php @@ -109,7 +109,7 @@ class View extends ConfigEntityBase implements ViewStorageInterface { /** * Stores a reference to the executable version of this view. * - * @var Drupal\views\ViewExecutable + * @var \Drupal\views\ViewExecutable */ protected $executable; diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/HandlerBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/HandlerBase.php index c655a3e98f4..9569c5d3fde 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/HandlerBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/HandlerBase.php @@ -22,7 +22,7 @@ abstract class HandlerBase extends PluginBase { /** * Where the $query object will reside: * - * @var Drupal\views\Plugin\views\query\QueryPluginBase + * @var \Drupal\views\Plugin\views\query\QueryPluginBase */ public $query = NULL; @@ -665,7 +665,7 @@ abstract class HandlerBase extends PluginBase { * @param string $base_table * The table to join to. * - * @return Drupal\views\Plugin\views\join\JoinPluginBase + * @return \Drupal\views\Plugin\views\join\JoinPluginBase */ public static function getTableJoin($table, $base_table) { $data = Views::viewsData()->get($table); @@ -732,11 +732,11 @@ abstract class HandlerBase extends PluginBase { * * @param string $str * The string to parse. - * @param Drupal\views\Plugin\views\HandlerBase|null $handler + * @param \Drupal\views\Plugin\views\HandlerBase|null $handler * The handler object to use as a base. If not specified one will * be created. * - * @return Drupal\views\Plugin\views\HandlerBase|stdClass $handler + * @return \Drupal\views\Plugin\views\HandlerBase|stdClass $handler * The new handler object. */ public static function breakPhrase($str, &$handler = NULL) { @@ -787,11 +787,11 @@ abstract class HandlerBase extends PluginBase { * * @param string $str * The string to parse. - * @param Drupal\views\Plugin\views\HandlerBase|null $handler + * @param \Drupal\views\Plugin\views\HandlerBase|null $handler * The object to use as a base. If not specified one will * be created. * - * @return Drupal\views\Plugin\views\HandlerBase|stdClass $handler + * @return \Drupal\views\Plugin\views\HandlerBase|stdClass $handler * The new handler object. */ public static function breakPhraseString($str, &$handler = NULL) { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/PluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/PluginBase.php index a261315b789..d5c8fb9477d 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/PluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/PluginBase.php @@ -48,7 +48,7 @@ abstract class PluginBase extends ComponentPluginBase implements ContainerFactor /** * The top object of a view. * - * @var Drupal\views\ViewExecutable + * @var \Drupal\views\ViewExecutable */ public $view = NULL; @@ -59,7 +59,7 @@ abstract class PluginBase extends ComponentPluginBase implements ContainerFactor * * @todo find a better description * - * @var Drupal\views\Plugin\views\display\DisplayPluginBase + * @var \Drupal\views\Plugin\views\display\DisplayPluginBase */ public $displayHandler; diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/argument/Date.php b/core/modules/views/lib/Drupal/views/Plugin/views/argument/Date.php index 868c20d20ad..ef1cd2160ee 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/argument/Date.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/argument/Date.php @@ -20,7 +20,7 @@ use Drupal\Core\Database\Database; * - invalid input: A string to give to the user for obviously invalid input. * This is deprecated in favor of argument validators. * - * @see Drupal\views\ManyTonOneHelper + * @see \Drupal\views\ManyTonOneHelper * * @ingroup views_argument_handlers * diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php index d6e1c455d0e..1b948f1caea 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php @@ -44,7 +44,7 @@ abstract class CachePluginBase extends PluginBase { * * @var string * - * @see Drupal\views\Plugin\views\cache\CachePluginBase::generateResultsKey() + * @see \Drupal\views\Plugin\views\cache\CachePluginBase::generateResultsKey() */ protected $resultsKey; @@ -54,7 +54,7 @@ abstract class CachePluginBase extends PluginBase { * * @var string * - * @see Drupal\views\Plugin\views\cache\CachePluginBase::generateOutputKey() + * @see \Drupal\views\Plugin\views\cache\CachePluginBase::generateOutputKey() */ protected $outputKey; diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/filter/ManyToOne.php b/core/modules/views/lib/Drupal/views/Plugin/views/filter/ManyToOne.php index 4bda38b7efb..1bcb36f7be2 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/filter/ManyToOne.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/filter/ManyToOne.php @@ -27,7 +27,7 @@ use Drupal\Component\Annotation\PluginID; class ManyToOne extends InOperator { /** - * @var Drupal\views\ManyToOneHelper + * @var \Drupal\views\ManyToOneHelper * * Stores the Helper object which handles the many_to_one complexity. */ diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/join/JoinPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/join/JoinPluginBase.php index ca8d3fe304a..21e554d551c 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/join/JoinPluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/join/JoinPluginBase.php @@ -112,7 +112,7 @@ class JoinPluginBase extends PluginBase { * * @var array * - * @see Drupal\views\Plugin\views\join\JoinPluginBase::initJoin() + * @see \Drupal\views\Plugin\views\join\JoinPluginBase::initJoin() */ public $configuration = array(); @@ -134,9 +134,9 @@ class JoinPluginBase extends PluginBase { * * @var bool * - * @see Drupal\views\Plugin\HandlerBase::getTableJoin() - * @see Drupal\views\Plugin\views\query\Sql::adjustJoin() - * @see Drupal\views\Plugin\views\relationship\RelationshipPluginBase::query() + * @see \Drupal\views\Plugin\HandlerBase::getTableJoin() + * @see \Drupal\views\Plugin\views\query\Sql::adjustJoin() + * @see \Drupal\views\Plugin\views\relationship\RelationshipPluginBase::query() */ public $adjusted; diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php b/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php index 7522c3f2432..db08a61a4fc 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/query/Sql.php @@ -263,7 +263,7 @@ class Sql extends QueryPluginBase { * @param $alias * What this relationship will be called, and is also the alias * for the table. - * @param Drupal\views\Plugin\views\join\JoinPluginBase $join + * @param \Drupal\views\Plugin\views\join\JoinPluginBase $join * A Join object (or derived object) to join the alias in. * @param $base * The name of the 'base' table this relationship represents; this @@ -335,7 +335,7 @@ class Sql extends QueryPluginBase { * tables exist and are properly aliased. If set to NULL the path to * the primary table will be ensured. If the path cannot be made, the * table will NOT be added. - * @param Drupal\views\Plugin\views\join\JoinPluginBase $join + * @param \Drupal\views\Plugin\views\join\JoinPluginBase $join * In some join configurations this table may actually join back through * a different method; this is most likely to be used when tracing * a hierarchy path. (node->parent->parent2->parent3). This parameter @@ -374,7 +374,7 @@ class Sql extends QueryPluginBase { * @param $relationship * The primary table alias this table is related to. If not set, the * primary table will be used. - * @param Drupal\views\Plugin\views\join\JoinPluginBase $join + * @param \Drupal\views\Plugin\views\join\JoinPluginBase $join * In some join configurations this table may actually join back through * a different method; this is most likely to be used when tracing * a hierarchy path. (node->parent->parent2->parent3). This parameter @@ -486,7 +486,7 @@ class Sql extends QueryPluginBase { * The relationship to ensure the table links to. Each relationship will * get a unique instance of the table being added. If not specified, * will be the primary table. - * @param Drupal\views\Plugin\views\join\JoinPluginBase $join + * @param \Drupal\views\Plugin\views\join\JoinPluginBase $join * A Join object (or derived object) to join the alias in. * * @return @@ -674,7 +674,7 @@ class Sql extends QueryPluginBase { * @param $base_table * The path we're following to get this join. * - * @return Drupal\views\Plugin\views\join\JoinPluginBase + * @return \Drupal\views\Plugin\views\join\JoinPluginBase * A Join object or child object, if one exists. */ public function getJoinData($table, $base_table) { @@ -816,8 +816,8 @@ class Sql extends QueryPluginBase { * ); * @endcode * - * @see Drupal\Core\Database\Query\ConditionInterface::condition() - * @see Drupal\Core\Database\Query\Condition + * @see \Drupal\Core\Database\Query\ConditionInterface::condition() + * @see \Drupal\Core\Database\Query\Condition */ public function addWhere($group, $field, $value = NULL, $operator = NULL) { // Ensure all variants of 0 are actually 0. Thus '', 0 and NULL are all @@ -1118,7 +1118,7 @@ class Sql extends QueryPluginBase { /** * Adds fields to the query. * - * @param Drupal\Core\Database\Query\SelectInterface $query + * @param \Drupal\Core\Database\Query\SelectInterface $query * The drupal query object. */ protected function compileFields($query) { diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php index 68cdc5acc39..ffda543ea54 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php @@ -364,7 +364,7 @@ abstract class StylePluginBase extends PluginBase { * An associative array containing the structure of the form. * @param array $form_state * An associative array containing the current state of the form. - * @param Drupal\views\Plugin\views\wizard\WizardInterface $wizard + * @param \Drupal\views\Plugin\views\wizard\WizardInterface $wizard * The current used wizard. * @param array $display_options * The options which will be used on the view. The style plugin should diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardInterface.php b/core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardInterface.php index dffc4d8afa1..d8122848014 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardInterface.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardInterface.php @@ -50,10 +50,10 @@ interface WizardInterface { * @param array $form_state * The current state of the wizard form. * - * @return Drupal\views\ViewExecutable + * @return \Drupal\views\ViewExecutable * The created view object. * - * @throws Drupal\views\Plugin\views\wizard\WizardException + * @throws \Drupal\views\Plugin\views\wizard\WizardException */ public function createView(array $form, array &$form_state); diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php index 00fad4c67e9..e000b92464f 100644 --- a/core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php +++ b/core/modules/views/lib/Drupal/views/Plugin/views/wizard/WizardPluginBase.php @@ -618,7 +618,7 @@ abstract class WizardPluginBase extends PluginBase implements WizardInterface { /** * Instantiates a view object from form values. * - * @return Drupal\views_ui\ViewUI + * @return \Drupal\views_ui\ViewUI * The instantiated view UI object. */ protected function instantiateView($form, &$form_state) { @@ -1059,11 +1059,11 @@ abstract class WizardPluginBase extends PluginBase implements WizardInterface { * @param array $options * An array whose keys are the name of each option and whose values are the * desired values to set. - * @param Drupal\views\View\plugin\display\DisplayPluginBase $display + * @param \Drupal\views\View\plugin\display\DisplayPluginBase $display * The display handler which the options will be applied to. The default * display will actually be assigned the options (and this display will * inherit them) when possible. - * @param Drupal\views\View\plugin\display\DisplayPluginBase $default_display + * @param \Drupal\views\View\plugin\display\DisplayPluginBase $default_display * The default display handler, which will store the options when possible. */ protected function setDefaultOptions($options, DisplayPluginBase $display, DisplayPluginBase $default_display) { @@ -1095,11 +1095,11 @@ abstract class WizardPluginBase extends PluginBase implements WizardInterface { * @param array $options * An array whose keys are the name of each option and whose values are the * desired values to set. - * @param Drupal\views\View\plugin\display\DisplayPluginBase $display + * @param \Drupal\views\View\plugin\display\DisplayPluginBase $display * The display handler which the options will be applied to. The default * display will actually be assigned the options (and this display will * inherit them) when possible. - * @param Drupal\views\View\plugin\display\DisplayPluginBase $default_display + * @param \Drupal\views\View\plugin\display\DisplayPluginBase $default_display * The default display handler, which will store the options when possible. */ protected function setOverrideOptions(array $options, DisplayPluginBase $display, DisplayPluginBase $default_display) { @@ -1126,7 +1126,7 @@ abstract class WizardPluginBase extends PluginBase implements WizardInterface { * @param bool $unset * Should the view be removed from the list of validated views. * - * @return Drupal\views_ui\ViewUI $view + * @return \Drupal\views_ui\ViewUI $view * The validated view object. */ protected function retrieveValidatedView(array $form, array &$form_state, $unset = TRUE) { @@ -1147,7 +1147,7 @@ abstract class WizardPluginBase extends PluginBase implements WizardInterface { * The full wizard form array. * @param array $form_state * The current state of the wizard form. - * @param Drupal\views_ui\ViewUI $view + * @param \Drupal\views_ui\ViewUI $view * The validated view object. */ protected function setValidatedView(array $form, array &$form_state, ViewUI $view) { diff --git a/core/modules/views/lib/Drupal/views/Tests/Handler/AreaTest.php b/core/modules/views/lib/Drupal/views/Tests/Handler/AreaTest.php index edabed8ad5a..78f79349333 100644 --- a/core/modules/views/lib/Drupal/views/Tests/Handler/AreaTest.php +++ b/core/modules/views/lib/Drupal/views/Tests/Handler/AreaTest.php @@ -10,8 +10,8 @@ namespace Drupal\views\Tests\Handler; /** * Tests the abstract area handler. * - * @see Drupal\views\Plugin\views\area\AreaPluginBase - * @see Drupal\views_test\Plugin\views\area\TestExample + * @see \Drupal\views\Plugin\views\area\AreaPluginBase + * @see \Drupal\views_test\Plugin\views\area\TestExample */ class AreaTest extends HandlerTestBase { diff --git a/core/modules/views/lib/Drupal/views/Tests/Handler/AreaTextTest.php b/core/modules/views/lib/Drupal/views/Tests/Handler/AreaTextTest.php index 1b27ef4bcbc..0d478029811 100644 --- a/core/modules/views/lib/Drupal/views/Tests/Handler/AreaTextTest.php +++ b/core/modules/views/lib/Drupal/views/Tests/Handler/AreaTextTest.php @@ -12,7 +12,7 @@ use Drupal\views\Tests\ViewUnitTestBase; /** * Tests the text area handler. * - * @see Drupal\views\Plugin\views\area\Text + * @see \Drupal\views\Plugin\views\area\Text */ class AreaTextTest extends ViewUnitTestBase { diff --git a/core/modules/views/lib/Drupal/views/Tests/Handler/AreaTitleTest.php b/core/modules/views/lib/Drupal/views/Tests/Handler/AreaTitleTest.php index d0d06cf14ac..38399d73de1 100644 --- a/core/modules/views/lib/Drupal/views/Tests/Handler/AreaTitleTest.php +++ b/core/modules/views/lib/Drupal/views/Tests/Handler/AreaTitleTest.php @@ -12,7 +12,7 @@ use Drupal\views\Tests\ViewUnitTestBase; /** * Tests the title area handler. * - * @see Drupal\views\Plugin\views\area\Title + * @see \Drupal\views\Plugin\views\area\Title */ class AreaTitleTest extends ViewUnitTestBase { diff --git a/core/modules/views/lib/Drupal/views/Tests/Handler/HandlerTest.php b/core/modules/views/lib/Drupal/views/Tests/Handler/HandlerTest.php index 770e238cdb1..d86795aeefc 100644 --- a/core/modules/views/lib/Drupal/views/Tests/Handler/HandlerTest.php +++ b/core/modules/views/lib/Drupal/views/Tests/Handler/HandlerTest.php @@ -222,7 +222,7 @@ class HandlerTest extends ViewTestBase { * * @param $first * The first value to check. - * @param Drupal\views\Plugin\views\HandlerBase $handler + * @param \Drupal\views\Plugin\views\HandlerBase $handler * The handler that has the $handler->value property to compare with first. * @param string $message * The message to display along with the assertion. @@ -315,7 +315,7 @@ class HandlerTest extends ViewTestBase { /** * Tests the placeholder function. * - * @see Drupal\views\Plugin\views\HandlerBase::placeholder() + * @see \Drupal\views\Plugin\views\HandlerBase::placeholder() */ public function testPlaceholder() { $view = views_get_view('test_view'); diff --git a/core/modules/views/lib/Drupal/views/Tests/Handler/RelationshipTest.php b/core/modules/views/lib/Drupal/views/Tests/Handler/RelationshipTest.php index bb74959ec85..a5c295ce723 100644 --- a/core/modules/views/lib/Drupal/views/Tests/Handler/RelationshipTest.php +++ b/core/modules/views/lib/Drupal/views/Tests/Handler/RelationshipTest.php @@ -13,7 +13,7 @@ use Drupal\views\Tests\Plugin\RelationshipJoinTestBase; /** * Tests the base relationship handler. * - * @see Drupal\views\Plugin\views\relationship\RelationshipPluginBase + * @see \Drupal\views\Plugin\views\relationship\RelationshipPluginBase */ class RelationshipTest extends RelationshipJoinTestBase { diff --git a/core/modules/views/lib/Drupal/views/Tests/Plugin/AccessTest.php b/core/modules/views/lib/Drupal/views/Tests/Plugin/AccessTest.php index b86ca2893d2..1532b40db88 100644 --- a/core/modules/views/lib/Drupal/views/Tests/Plugin/AccessTest.php +++ b/core/modules/views/lib/Drupal/views/Tests/Plugin/AccessTest.php @@ -70,7 +70,7 @@ class AccessTest extends PluginTestBase { /** * Tests static access check. * - * @see Drupal\views_test\Plugin\views\access\StaticTest + * @see \Drupal\views_test\Plugin\views\access\StaticTest */ function testStaticAccessPlugin() { $view = views_get_view('test_access_static'); diff --git a/core/modules/views/lib/Drupal/views/Tests/Plugin/ArgumentDefaultTest.php b/core/modules/views/lib/Drupal/views/Tests/Plugin/ArgumentDefaultTest.php index f1639d266b6..cf81e2e456c 100644 --- a/core/modules/views/lib/Drupal/views/Tests/Plugin/ArgumentDefaultTest.php +++ b/core/modules/views/lib/Drupal/views/Tests/Plugin/ArgumentDefaultTest.php @@ -46,7 +46,7 @@ class ArgumentDefaultTest extends PluginTestBase { /** * Tests the argument default test plugin. * - * @see Drupal\views_test_data\Plugin\views\argument_default\ArgumentDefaultTest + * @see \Drupal\views_test_data\Plugin\views\argument_default\ArgumentDefaultTest */ public function testArgumentDefaultPlugin() { $view = views_get_view('test_view'); diff --git a/core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayAttachmentTest.php b/core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayAttachmentTest.php index eb1894e0e82..c5d6255a4b8 100644 --- a/core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayAttachmentTest.php +++ b/core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayAttachmentTest.php @@ -10,7 +10,7 @@ namespace Drupal\views\Tests\Plugin; /** * Tests the attachment display plugin. * - * @see Drupal\views\Plugin\views\display\Attachment + * @see \Drupal\views\Plugin\views\display\Attachment */ class DisplayAttachmentTest extends PluginTestBase { diff --git a/core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayExtenderTest.php b/core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayExtenderTest.php index eeb59144a59..401142646f2 100644 --- a/core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayExtenderTest.php +++ b/core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayExtenderTest.php @@ -12,7 +12,7 @@ use Drupal\views\Tests\Plugin\PluginTestBase; /** * Tests the display extender plugins. * - * @see Drupal\views_test_data\Plugin\views\display_extender\DisplayExtenderTest + * @see \Drupal\views_test_data\Plugin\views\display_extender\DisplayExtenderTest */ class DisplayExtenderTest extends PluginTestBase { diff --git a/core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayFeedTest.php b/core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayFeedTest.php index e7401893502..408b2430c88 100644 --- a/core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayFeedTest.php +++ b/core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayFeedTest.php @@ -10,7 +10,7 @@ namespace Drupal\views\Tests\Plugin; /** * Tests the feed display plugin. * - * @see Drupal\views\Plugin\views\display\Feed + * @see \Drupal\views\Plugin\views\display\Feed */ class DisplayFeedTest extends PluginTestBase { diff --git a/core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayPageTest.php b/core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayPageTest.php index f597199b4f5..7944e0597f9 100644 --- a/core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayPageTest.php +++ b/core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayPageTest.php @@ -17,7 +17,7 @@ use Symfony\Component\Routing\RouteCollection; /** * Tests the page display plugin. * - * @see Drupal\views\Plugin\display\Page + * @see \Drupal\views\Plugin\display\Page */ class DisplayPageTest extends ViewUnitTestBase { diff --git a/core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayTest.php b/core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayTest.php index 88427188004..1a4f6a25236 100644 --- a/core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayTest.php +++ b/core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayTest.php @@ -54,7 +54,7 @@ class DisplayTest extends PluginTestBase { /** * Tests the display test plugin. * - * @see Drupal\views_test_data\Plugin\views\display\DisplayTest + * @see \Drupal\views_test_data\Plugin\views\display\DisplayTest */ public function testDisplayPlugin() { $view = views_get_view('test_view'); diff --git a/core/modules/views/lib/Drupal/views/Tests/Plugin/FilterTest.php b/core/modules/views/lib/Drupal/views/Tests/Plugin/FilterTest.php index a69aad4d274..3f0f8a2b6a1 100644 --- a/core/modules/views/lib/Drupal/views/Tests/Plugin/FilterTest.php +++ b/core/modules/views/lib/Drupal/views/Tests/Plugin/FilterTest.php @@ -12,7 +12,7 @@ use Drupal\views_test_data\Plugin\views\filter\FilterTest as FilterPlugin; /** * Tests general filter plugin functionality. * - * @see Drupal\views\Plugin\views\filter\FilterPluginBase + * @see \Drupal\views\Plugin\views\filter\FilterPluginBase */ class FilterTest extends PluginTestBase { diff --git a/core/modules/views/lib/Drupal/views/Tests/Plugin/StyleMappingTest.php b/core/modules/views/lib/Drupal/views/Tests/Plugin/StyleMappingTest.php index 5cea609751d..7020458913a 100644 --- a/core/modules/views/lib/Drupal/views/Tests/Plugin/StyleMappingTest.php +++ b/core/modules/views/lib/Drupal/views/Tests/Plugin/StyleMappingTest.php @@ -47,7 +47,7 @@ class StyleMappingTest extends StyleTestBase { /** * Tests the mapping of fields. * - * @param Drupal\views\ViewExecutable $view + * @param \Drupal\views\ViewExecutable $view * The view to test. * * @return string diff --git a/core/modules/views/lib/Drupal/views/Tests/Plugin/StyleTest.php b/core/modules/views/lib/Drupal/views/Tests/Plugin/StyleTest.php index 13335e6a4ed..f492a135f9a 100644 --- a/core/modules/views/lib/Drupal/views/Tests/Plugin/StyleTest.php +++ b/core/modules/views/lib/Drupal/views/Tests/Plugin/StyleTest.php @@ -16,7 +16,7 @@ use Drupal\views_test_data\Plugin\views\style\StyleTest as StyleTestPlugin; /** * Tests some general style plugin related functionality. * - * @see Drupal\views_test_data\Plugin\views\style\StyleTest. + * @see \Drupal\views_test_data\Plugin\views\style\StyleTest. */ class StyleTest extends ViewTestBase { diff --git a/core/modules/views/lib/Drupal/views/Tests/ViewExecutableTest.php b/core/modules/views/lib/Drupal/views/Tests/ViewExecutableTest.php index 06b8ac1d7d4..8e16535cc7f 100644 --- a/core/modules/views/lib/Drupal/views/Tests/ViewExecutableTest.php +++ b/core/modules/views/lib/Drupal/views/Tests/ViewExecutableTest.php @@ -24,7 +24,7 @@ use Symfony\Component\HttpFoundation\Response; /** * Tests the ViewExecutable class. * - * @see Drupal\views\ViewExecutable + * @see \Drupal\views\ViewExecutable */ class ViewExecutableTest extends ViewUnitTestBase { diff --git a/core/modules/views/lib/Drupal/views/Tests/ViewStorageTest.php b/core/modules/views/lib/Drupal/views/Tests/ViewStorageTest.php index 8fea0a1154d..f9beb79f444 100644 --- a/core/modules/views/lib/Drupal/views/Tests/ViewStorageTest.php +++ b/core/modules/views/lib/Drupal/views/Tests/ViewStorageTest.php @@ -16,8 +16,8 @@ use Drupal\views\Plugin\views\display\Feed; /** * Tests the functionality of View and ViewStorageController. * - * @see Drupal\views\Entity\View - * @see Drupal\views\ViewStorageController + * @see \Drupal\views\Entity\View + * @see \Drupal\views\ViewStorageController */ class ViewStorageTest extends ViewUnitTestBase { @@ -48,7 +48,7 @@ class ViewStorageTest extends ViewUnitTestBase { /** * The configuration entity storage controller. * - * @var Drupal\views\ViewStorageController + * @var \Drupal\views\ViewStorageController */ protected $controller; diff --git a/core/modules/views/lib/Drupal/views/Tests/ViewsTemplateTest.php b/core/modules/views/lib/Drupal/views/Tests/ViewsTemplateTest.php index f6be8770bfa..aa0452c75dd 100644 --- a/core/modules/views/lib/Drupal/views/Tests/ViewsTemplateTest.php +++ b/core/modules/views/lib/Drupal/views/Tests/ViewsTemplateTest.php @@ -13,7 +13,7 @@ use Drupal\views\Views; /** * Tests the views custom templates. * - * @see Drupal\views_test_data\Plugin\views\style\StyleTemplateTest + * @see \Drupal\views_test_data\Plugin\views\style\StyleTemplateTest */ class ViewsTemplateTest extends ViewTestBase { diff --git a/core/modules/views/lib/Drupal/views/ViewExecutable.php b/core/modules/views/lib/Drupal/views/ViewExecutable.php index d8236cfe797..d7975d9a09f 100644 --- a/core/modules/views/lib/Drupal/views/ViewExecutable.php +++ b/core/modules/views/lib/Drupal/views/ViewExecutable.php @@ -28,7 +28,7 @@ class ViewExecutable { /** * The config entity in which the view is stored. * - * @var Drupal\views\Entity\View + * @var \Drupal\views\Entity\View */ public $storage; @@ -178,21 +178,21 @@ class ViewExecutable { /** * Where the $query object will reside. * - * @var Drupal\views\Plugin\query\QueryInterface + * @var \Drupal\views\Plugin\query\QueryInterface */ public $query = NULL; /** * The used pager plugin used by the current executed view. * - * @var Drupal\views\Plugin\views\pager\PagerPluginBase + * @var \Drupal\views\Plugin\views\pager\PagerPluginBase */ public $pager = NULL; /** * The current used display plugin. * - * @var Drupal\views\Plugin\views\display\DisplayPluginBase + * @var \Drupal\views\Plugin\views\display\DisplayPluginBase */ public $display_handler; diff --git a/core/modules/views/tests/Drupal/views/Tests/Plugin/area/ResultTest.php b/core/modules/views/tests/Drupal/views/Tests/Plugin/area/ResultTest.php index 531993f14a9..f32f7063eb8 100644 --- a/core/modules/views/tests/Drupal/views/Tests/Plugin/area/ResultTest.php +++ b/core/modules/views/tests/Drupal/views/Tests/Plugin/area/ResultTest.php @@ -14,7 +14,7 @@ use Drupal\views\Plugin\views\area\Result; /** * Tests the result area handler. * - * @see Drupal\views\Plugin\views\area\Result + * @see \Drupal\views\Plugin\views\area\Result */ class ResultTest extends UnitTestCase { diff --git a/core/modules/views/tests/modules/views_test_data/lib/Drupal/views_test_data/Plugin/views/area/TestExample.php b/core/modules/views/tests/modules/views_test_data/lib/Drupal/views_test_data/Plugin/views/area/TestExample.php index 8c7a7c03930..3e697d263e1 100644 --- a/core/modules/views/tests/modules/views_test_data/lib/Drupal/views_test_data/Plugin/views/area/TestExample.php +++ b/core/modules/views/tests/modules/views_test_data/lib/Drupal/views_test_data/Plugin/views/area/TestExample.php @@ -13,7 +13,7 @@ use Drupal\Component\Annotation\PluginID; /** * Test area plugin. * - * @see Drupal\views\Tests\Handler\AreaTest + * @see \Drupal\views\Tests\Handler\AreaTest * * @PluginID("test_example") */ diff --git a/core/modules/views/tests/modules/views_test_data/lib/Drupal/views_test_data/Plugin/views/query/QueryTest.php b/core/modules/views/tests/modules/views_test_data/lib/Drupal/views_test_data/Plugin/views/query/QueryTest.php index df8c2e36507..5e02dd34e11 100644 --- a/core/modules/views/tests/modules/views_test_data/lib/Drupal/views_test_data/Plugin/views/query/QueryTest.php +++ b/core/modules/views/tests/modules/views_test_data/lib/Drupal/views_test_data/Plugin/views/query/QueryTest.php @@ -87,7 +87,7 @@ class QueryTest extends QueryPluginBase { /** * Implements Drupal\views\Plugin\views\query\QueryPluginBase::build(). * - * @param Drupal\views\ViewExecutable $view + * @param \Drupal\views\ViewExecutable $view */ public function build(ViewExecutable $view) { $this->view = $view; diff --git a/core/modules/views/tests/modules/views_test_data/views_test_data.module b/core/modules/views/tests/modules/views_test_data/views_test_data.module index 4dd8fa2e3e7..5f32bfbf945 100644 --- a/core/modules/views/tests/modules/views_test_data/views_test_data.module +++ b/core/modules/views/tests/modules/views_test_data/views_test_data.module @@ -26,7 +26,7 @@ function views_test_data_permission() { * Returns views_test_data.tests->handler_access_callback config. so the user * has access to the handler. * - * @see Drupal\views\Tests\Handler\HandlerTest + * @see \Drupal\views\Tests\Handler\HandlerTest */ function views_test_data_handler_test_access_callback() { return \Drupal::config('views_test_data.tests')->get('handler_access_callback'); @@ -42,7 +42,7 @@ function views_test_data_handler_test_access_callback() { * Returns views_test_data.tests->handler_access_callback_argument, so the * use has access to the handler. * - * @see Drupal\views\Tests\Handler\HandlerTest + * @see \Drupal\views\Tests\Handler\HandlerTest */ function views_test_data_handler_test_access_callback_argument($argument = FALSE) { // Check the argument to be sure that access arguments are passed into the diff --git a/core/modules/views/views.module b/core/modules/views/views.module index 7a6b346cd3f..f19ca8a5bda 100644 --- a/core/modules/views/views.module +++ b/core/modules/views/views.module @@ -752,7 +752,7 @@ function &views_get_page_view() { * Set the current 'current view' that is being built/rendered so that it is * easy for other modules or items in drupal_eval to identify * - * @return Drupal\views\ViewExecutable + * @return \Drupal\views\ViewExecutable */ function &views_set_current_view($view = NULL) { static $cache = NULL; @@ -1083,7 +1083,7 @@ function views_get_views_as_options($views_only = FALSE, $filter = 'all', $exclu /** * Returns whether the view is enabled. * - * @param Drupal\views\Entity\View $view + * @param \Drupal\views\Entity\View $view * The view object to check. * * @return bool @@ -1096,7 +1096,7 @@ function views_view_is_enabled(View $view) { /** * Returns whether the view is disabled. * - * @param Drupal\views\Entity\View $view + * @param \Drupal\views\Entity\View $view * The view object to check. * * @return bool @@ -1109,7 +1109,7 @@ function views_view_is_disabled(View $view) { /** * Enables and saves a view. * - * @param Drupal\views\Entity\View $view + * @param \Drupal\views\Entity\View $view * The View object to disable. */ function views_enable_view(View $view) { @@ -1119,7 +1119,7 @@ function views_enable_view(View $view) { /** * Disables and saves a view. * - * @param Drupal\views\Entity\View $view + * @param \Drupal\views\Entity\View $view * The View object to disable. */ function views_disable_view(View $view) { @@ -1132,7 +1132,7 @@ function views_disable_view(View $view) { * @param string $name * The name of the view. * - * @return Drupal\views\ViewExecutable + * @return \Drupal\views\ViewExecutable * A reference to the $view object. * * @deprecated as of Drupal 8.0. Use \Drupal\views\Views::getView(). diff --git a/core/modules/views_ui/lib/Drupal/views_ui/Tests/DisplayAttachmentTest.php b/core/modules/views_ui/lib/Drupal/views_ui/Tests/DisplayAttachmentTest.php index b57f5e866ab..61e534beb8a 100644 --- a/core/modules/views_ui/lib/Drupal/views_ui/Tests/DisplayAttachmentTest.php +++ b/core/modules/views_ui/lib/Drupal/views_ui/Tests/DisplayAttachmentTest.php @@ -10,7 +10,7 @@ namespace Drupal\views_ui\Tests; /** * Tests the UI for the attachment display plugin. * - * @see Drupal\views\Plugin\views\display\Attachment + * @see \Drupal\views\Plugin\views\display\Attachment */ class DisplayAttachmentTest extends UITestBase { diff --git a/core/modules/views_ui/lib/Drupal/views_ui/Tests/RowUITest.php b/core/modules/views_ui/lib/Drupal/views_ui/Tests/RowUITest.php index 79e98123317..0414933a271 100644 --- a/core/modules/views_ui/lib/Drupal/views_ui/Tests/RowUITest.php +++ b/core/modules/views_ui/lib/Drupal/views_ui/Tests/RowUITest.php @@ -10,7 +10,7 @@ namespace Drupal\views_ui\Tests; /** * Tests the UI of row plugins. * - * @see Drupal\views_test_data\Plugin\views\row\RowTest. + * @see \Drupal\views_test_data\Plugin\views\row\RowTest. */ class RowUITest extends UITestBase { diff --git a/core/modules/views_ui/lib/Drupal/views_ui/Tests/SettingsTest.php b/core/modules/views_ui/lib/Drupal/views_ui/Tests/SettingsTest.php index d7e4da0ed0e..764bb0b8306 100644 --- a/core/modules/views_ui/lib/Drupal/views_ui/Tests/SettingsTest.php +++ b/core/modules/views_ui/lib/Drupal/views_ui/Tests/SettingsTest.php @@ -15,7 +15,7 @@ class SettingsTest extends UITestBase { /** * Stores an admin user used by the different tests. * - * @var Drupal\user\User + * @var \Drupal\user\User */ protected $adminUser; diff --git a/core/modules/views_ui/lib/Drupal/views_ui/Tests/StyleUITest.php b/core/modules/views_ui/lib/Drupal/views_ui/Tests/StyleUITest.php index 3e37ab6cbbc..317f0c7712b 100644 --- a/core/modules/views_ui/lib/Drupal/views_ui/Tests/StyleUITest.php +++ b/core/modules/views_ui/lib/Drupal/views_ui/Tests/StyleUITest.php @@ -10,7 +10,7 @@ namespace Drupal\views_ui\Tests; /** * Tests the UI of style plugins. * - * @see Drupal\views_test_data\Plugin\views\style\StyleTest. + * @see \Drupal\views_test_data\Plugin\views\style\StyleTest. */ class StyleUITest extends UITestBase { diff --git a/core/tests/Drupal/Tests/Component/Graph/GraphTest.php b/core/tests/Drupal/Tests/Component/Graph/GraphTest.php index 2593a0feb66..4d9b37300e4 100644 --- a/core/tests/Drupal/Tests/Component/Graph/GraphTest.php +++ b/core/tests/Drupal/Tests/Component/Graph/GraphTest.php @@ -13,7 +13,7 @@ use Drupal\Tests\UnitTestCase; /** * Unit tests for the graph handling features. * - * @see Drupal\Component\Graph\Graph + * @see \Drupal\Component\Graph\Graph * @group Graph */ class GraphTest extends UnitTestCase { diff --git a/core/tests/Drupal/Tests/Component/Utility/MapArrayTest.php b/core/tests/Drupal/Tests/Component/Utility/MapArrayTest.php index b0cb0d537e9..4b833fa41d7 100644 --- a/core/tests/Drupal/Tests/Component/Utility/MapArrayTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/MapArrayTest.php @@ -37,8 +37,8 @@ class MapArrayTest extends UnitTestCase { * @param callable $callable * The optional callable. * - * @see Drupal\Component\Utility\MapArray::copyValuesToKey() - * @see Drupal\Tests\Component\Utility\MapArrayTest::providerCopyValuesToKey() + * @see \Drupal\Component\Utility\MapArray::copyValuesToKey() + * @see \Drupal\Tests\Component\Utility\MapArrayTest::providerCopyValuesToKey() */ public function testCopyValuesToKey(array $input, array $expected, $callable = NULL) { $output = MapArray::copyValuesToKeys($input, $callable); @@ -51,8 +51,8 @@ class MapArrayTest extends UnitTestCase { * @return array * An array of tests, matching the parameter inputs for testCopyValuesToKey. * - * @see Drupal\Component\Utility\MapArray::copyValuesToKey() - * @see Drupal\Tests\Component\Utility\MapArrayTest::testCopyValuesToKey() + * @see \Drupal\Component\Utility\MapArray::copyValuesToKey() + * @see \Drupal\Tests\Component\Utility\MapArrayTest::testCopyValuesToKey() */ public function providerCopyValuesToKey() { // Test an empty array. diff --git a/core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php b/core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php index 07a493b5d91..38e50451cd2 100644 --- a/core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/SortArrayTest.php @@ -37,8 +37,8 @@ class SortArrayTest extends UnitTestCase { * @param integer $expected * The expected output from calling the method. * - * @see Drupal\Component\Utility\SortArray::sortByWeightElement() - * @see Drupal\Tests\Component\Utility\SortArrayTest::providersortByWeightElement() + * @see \Drupal\Component\Utility\SortArray::sortByWeightElement() + * @see \Drupal\Tests\Component\Utility\SortArrayTest::providersortByWeightElement() */ public function testSortByWeightElement($a, $b, $expected) { $result = SortArray::sortByWeightElement($a, $b); @@ -115,8 +115,8 @@ class SortArrayTest extends UnitTestCase { * @param integer $expected * The expected output from calling the method. * - * @see Drupal\Component\Utility\SortArray::sortByWeightProperty() - * @see Drupal\Tests\Component\Utility\SortArrayTest::SortByWeightProperty() + * @see \Drupal\Component\Utility\SortArray::sortByWeightProperty() + * @see \Drupal\Tests\Component\Utility\SortArrayTest::SortByWeightProperty() */ public function testSortByWeightProperty($a, $b, $expected) { $result = SortArray::sortByWeightProperty($a, $b); @@ -193,8 +193,8 @@ class SortArrayTest extends UnitTestCase { * @param integer $expected * The expected output from calling the method. * - * @see Drupal\Component\Utility\SortArray::sortByTitleElement() - * @see Drupal\Tests\Component\Utility\SortArrayTest::providerSortByTitleElement() + * @see \Drupal\Component\Utility\SortArray::sortByTitleElement() + * @see \Drupal\Tests\Component\Utility\SortArrayTest::providerSortByTitleElement() */ public function testSortByTitleElement($a, $b, $expected) { $result = SortArray::sortByTitleElement($a, $b); @@ -264,8 +264,8 @@ class SortArrayTest extends UnitTestCase { * @param integer $expected * The expected output from calling the method. * - * @see Drupal\Component\Utility\SortArray::sortByTitleProperty() - * @see Drupal\Tests\Component\Utility\SortArrayTest::SortByTitleProperty() + * @see \Drupal\Component\Utility\SortArray::sortByTitleProperty() + * @see \Drupal\Tests\Component\Utility\SortArrayTest::SortByTitleProperty() */ public function testSortByTitleProperty($a, $b, $expected) { $result = SortArray::sortByTitleProperty($a, $b); diff --git a/core/tests/Drupal/Tests/Component/Utility/TimerTest.php b/core/tests/Drupal/Tests/Component/Utility/TimerTest.php index 87b5e756394..cc6aca77360 100644 --- a/core/tests/Drupal/Tests/Component/Utility/TimerTest.php +++ b/core/tests/Drupal/Tests/Component/Utility/TimerTest.php @@ -28,7 +28,7 @@ class TimerTest extends UnitTestCase { /** * Tests Timer::read() time accumulation accuracy across multiple restarts. * - * @see Drupal\Component\Utility\Timer::read() + * @see \Drupal\Component\Utility\Timer::read() */ public function testTimer() { Timer::start('test'); diff --git a/core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php b/core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php index ed1f24abb9f..300a92672e2 100644 --- a/core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php +++ b/core/tests/Drupal/Tests/Core/Cache/BackendChainImplementationUnitTest.php @@ -30,28 +30,28 @@ class BackendChainImplementationUnitTest extends UnitTestCase { /** * Chain that will be heavily tested. * - * @var Drupal\Core\Cache\BackendChain + * @var \Drupal\Core\Cache\BackendChain */ protected $chain; /** * First backend in the chain. * - * @var Drupal\Core\Cache\CacheBackendInterface + * @var \Drupal\Core\Cache\CacheBackendInterface */ protected $firstBackend; /** * Second backend in the chain. * - * @var Drupal\Core\Cache\CacheBackendInterface + * @var \Drupal\Core\Cache\CacheBackendInterface */ protected $secondBackend; /** * Third backend in the chain. * - * @var Drupal\Core\Cache\CacheBackendInterface + * @var \Drupal\Core\Cache\CacheBackendInterface */ protected $thirdBackend;