diff --git a/core/modules/aggregator/lib/Drupal/aggregator/Plugin/Block/AggregatorCategoryBlock.php b/core/modules/aggregator/lib/Drupal/aggregator/Plugin/Block/AggregatorCategoryBlock.php index 1b4ecbb..618a3c2 100644 --- a/core/modules/aggregator/lib/Drupal/aggregator/Plugin/Block/AggregatorCategoryBlock.php +++ b/core/modules/aggregator/lib/Drupal/aggregator/Plugin/Block/AggregatorCategoryBlock.php @@ -84,7 +84,7 @@ public function defaultConfiguration() { } /** - * Overrides \Drupal\block\BlockBase::access(). + * {@inheritdoc} */ public function access(AccountInterface $account) { // Only grant access to users with the 'access news feeds' permission. diff --git a/core/modules/aggregator/lib/Drupal/aggregator/Plugin/Block/AggregatorFeedBlock.php b/core/modules/aggregator/lib/Drupal/aggregator/Plugin/Block/AggregatorFeedBlock.php index 61e3799..15f3984 100644 --- a/core/modules/aggregator/lib/Drupal/aggregator/Plugin/Block/AggregatorFeedBlock.php +++ b/core/modules/aggregator/lib/Drupal/aggregator/Plugin/Block/AggregatorFeedBlock.php @@ -87,7 +87,7 @@ public function defaultConfiguration() { } /** - * Overrides \Drupal\block\BlockBase::access(). + * {@inheritdoc} */ public function access(AccountInterface $account) { // Only grant access to users with the 'access news feeds' permission. diff --git a/core/modules/block/lib/Drupal/block/BlockPluginInterface.php b/core/modules/block/lib/Drupal/block/BlockPluginInterface.php index edf0e5d..598dff3 100644 --- a/core/modules/block/lib/Drupal/block/BlockPluginInterface.php +++ b/core/modules/block/lib/Drupal/block/BlockPluginInterface.php @@ -30,6 +30,7 @@ * * @param \Drupal\Core\Session\AccountInterface $account * The user session for which to check access. + * * @return bool * TRUE if the block should be shown, or FALSE otherwise. * diff --git a/core/modules/comment/lib/Drupal/comment/Plugin/Block/RecentCommentsBlock.php b/core/modules/comment/lib/Drupal/comment/Plugin/Block/RecentCommentsBlock.php index ad2eec9..150d91a 100644 --- a/core/modules/comment/lib/Drupal/comment/Plugin/Block/RecentCommentsBlock.php +++ b/core/modules/comment/lib/Drupal/comment/Plugin/Block/RecentCommentsBlock.php @@ -32,7 +32,7 @@ public function defaultConfiguration() { } /** - * Overrides \Drupal\block\BlockBase::access(). + * {@inheritdoc} */ public function access(AccountInterface $account) { return $account->hasPermission('access comments'); diff --git a/core/modules/forum/lib/Drupal/forum/Plugin/Block/ForumBlockBase.php b/core/modules/forum/lib/Drupal/forum/Plugin/Block/ForumBlockBase.php index 21665cb..c2ad994 100644 --- a/core/modules/forum/lib/Drupal/forum/Plugin/Block/ForumBlockBase.php +++ b/core/modules/forum/lib/Drupal/forum/Plugin/Block/ForumBlockBase.php @@ -29,7 +29,7 @@ public function defaultConfiguration() { } /** - * Overrides \Drupal\block\BlockBase::access(). + * {@inheritdoc} */ public function access(AccountInterface $account) { return $account->hasPermission('access content'); diff --git a/core/modules/language/lib/Drupal/language/Plugin/Block/LanguageBlock.php b/core/modules/language/lib/Drupal/language/Plugin/Block/LanguageBlock.php index 0aae094..fab28d8 100644 --- a/core/modules/language/lib/Drupal/language/Plugin/Block/LanguageBlock.php +++ b/core/modules/language/lib/Drupal/language/Plugin/Block/LanguageBlock.php @@ -24,7 +24,7 @@ class LanguageBlock extends BlockBase { /** - * Overrides \Drupal\block\BlockBase::access(). + * {@inheritdoc} */ function access(AccountInterface $account) { return language_multilingual(); diff --git a/core/modules/node/lib/Drupal/node/Plugin/Block/RecentContentBlock.php b/core/modules/node/lib/Drupal/node/Plugin/Block/RecentContentBlock.php index c7b94c5..92a129d 100644 --- a/core/modules/node/lib/Drupal/node/Plugin/Block/RecentContentBlock.php +++ b/core/modules/node/lib/Drupal/node/Plugin/Block/RecentContentBlock.php @@ -32,7 +32,7 @@ public function defaultConfiguration() { } /** - * Overrides \Drupal\block\BlockBase::access(). + * {@inheritdoc} */ public function access(AccountInterface $account) { return $account->hasPermission('access content'); diff --git a/core/modules/node/lib/Drupal/node/Plugin/Block/SyndicateBlock.php b/core/modules/node/lib/Drupal/node/Plugin/Block/SyndicateBlock.php index ca9bff7..04ed8b9 100644 --- a/core/modules/node/lib/Drupal/node/Plugin/Block/SyndicateBlock.php +++ b/core/modules/node/lib/Drupal/node/Plugin/Block/SyndicateBlock.php @@ -32,7 +32,7 @@ public function defaultConfiguration() { } /** - * Overrides \Drupal\block\BlockBase::access(). + * {@inheritdoc} */ public function access(AccountInterface $account) { return $account->hasPermission('access content'); diff --git a/core/modules/search/lib/Drupal/search/Plugin/Block/SearchBlock.php b/core/modules/search/lib/Drupal/search/Plugin/Block/SearchBlock.php index 11af445..eefce11 100644 --- a/core/modules/search/lib/Drupal/search/Plugin/Block/SearchBlock.php +++ b/core/modules/search/lib/Drupal/search/Plugin/Block/SearchBlock.php @@ -43,7 +43,7 @@ public function __construct(array $configuration, $plugin_id, array $plugin_defi } /** - * Overrides \Drupal\block\BlockBase::access(). + * {@inheritdoc} */ public function access(AccountInterface $account) { return $account->hasPermission('search content'); diff --git a/core/modules/statistics/lib/Drupal/statistics/Plugin/Block/StatisticsPopularBlock.php b/core/modules/statistics/lib/Drupal/statistics/Plugin/Block/StatisticsPopularBlock.php index b29968a..659d755 100644 --- a/core/modules/statistics/lib/Drupal/statistics/Plugin/Block/StatisticsPopularBlock.php +++ b/core/modules/statistics/lib/Drupal/statistics/Plugin/Block/StatisticsPopularBlock.php @@ -54,8 +54,8 @@ public function defaultConfiguration() { ); } - /** - * Overrides \Drupal\block\BlockBase::access(). + /** + * {@inheritdoc} */ public function access(AccountInterface $account) { if ($account->hasPermission('access content')) { diff --git a/core/modules/system/lib/Drupal/system/Plugin/Block/SystemHelpBlock.php b/core/modules/system/lib/Drupal/system/Plugin/Block/SystemHelpBlock.php index f55bdd5..a8c05fe 100644 --- a/core/modules/system/lib/Drupal/system/Plugin/Block/SystemHelpBlock.php +++ b/core/modules/system/lib/Drupal/system/Plugin/Block/SystemHelpBlock.php @@ -77,7 +77,7 @@ public static function create(ContainerInterface $container, array $configuratio } /** - * Overrides \Drupal\block\BlockBase::access(). + * {@inheritdoc} */ public function access(AccountInterface $account) { $this->help = $this->getActiveHelp($this->request); diff --git a/core/modules/system/lib/Drupal/system/Plugin/Block/SystemMenuBlock.php b/core/modules/system/lib/Drupal/system/Plugin/Block/SystemMenuBlock.php index 818501d..c983672 100644 --- a/core/modules/system/lib/Drupal/system/Plugin/Block/SystemMenuBlock.php +++ b/core/modules/system/lib/Drupal/system/Plugin/Block/SystemMenuBlock.php @@ -25,7 +25,7 @@ class SystemMenuBlock extends BlockBase { /** - * Overrides \Drupal\block\BlockBase::access(). + * {@inheritdoc} */ public function access(AccountInterface $account) { // @todo Clean up when http://drupal.org/node/1874498 lands. diff --git a/core/modules/user/lib/Drupal/user/Plugin/Block/UserLoginBlock.php b/core/modules/user/lib/Drupal/user/Plugin/Block/UserLoginBlock.php index 8258e1d..cb9a8ee 100644 --- a/core/modules/user/lib/Drupal/user/Plugin/Block/UserLoginBlock.php +++ b/core/modules/user/lib/Drupal/user/Plugin/Block/UserLoginBlock.php @@ -75,7 +75,7 @@ public static function create(ContainerInterface $container, array $configuratio } /** - * Overrides \Drupal\block\BlockBase::access(). + * {@inheritdoc} */ public function access(AccountInterface $account) { return (!$account->id() && !(arg(0) == 'user' && !is_numeric(arg(1)))); diff --git a/core/modules/user/lib/Drupal/user/Plugin/Block/UserNewBlock.php b/core/modules/user/lib/Drupal/user/Plugin/Block/UserNewBlock.php index ccdce38..5a63956 100644 --- a/core/modules/user/lib/Drupal/user/Plugin/Block/UserNewBlock.php +++ b/core/modules/user/lib/Drupal/user/Plugin/Block/UserNewBlock.php @@ -35,7 +35,7 @@ public function defaultConfiguration() { } /** - * Overrides \Drupal\block\BlockBase::access(). + * {@inheritdoc} */ public function access(AccountInterface $account) { return $account->hasPermission('access content'); diff --git a/core/modules/user/lib/Drupal/user/Plugin/Block/UserOnlineBlock.php b/core/modules/user/lib/Drupal/user/Plugin/Block/UserOnlineBlock.php index 3a96b6d..d3e26b8 100644 --- a/core/modules/user/lib/Drupal/user/Plugin/Block/UserOnlineBlock.php +++ b/core/modules/user/lib/Drupal/user/Plugin/Block/UserOnlineBlock.php @@ -39,7 +39,7 @@ public function defaultConfiguration() { } /** - * Overrides \Drupal\block\BlockBase::access(). + * {@inheritdoc} */ public function access(AccountInterface $account) { return $account->hasPermission('access content');