diff --git a/core/lib/Drupal/Component/Annotation/Reflection/MockFileFinder.php b/core/lib/Drupal/Component/Annotation/Reflection/MockFileFinder.php index b623e33156d3bb7881949bf0fa7d37c5e2cab4d8..0c3667bf8414b27e8046b48d29cb07b5658c6cde 100644 --- a/core/lib/Drupal/Component/Annotation/Reflection/MockFileFinder.php +++ b/core/lib/Drupal/Component/Annotation/Reflection/MockFileFinder.php @@ -26,7 +26,7 @@ class MockFileFinder implements ClassFinderInterface { protected $filename; /** - * Implements Doctrine\Common\Reflection\ClassFinderInterface::findFile(). + * {@inheritdoc} */ public function findFile($class) { return $this->filename; diff --git a/core/lib/Drupal/Component/Gettext/PoMemoryWriter.php b/core/lib/Drupal/Component/Gettext/PoMemoryWriter.php index 3026c322017157bec0b77460174b97bc55bdf3f0..89c836ce66fee76ffd5d93522b00fc9d3ad24f83 100644 --- a/core/lib/Drupal/Component/Gettext/PoMemoryWriter.php +++ b/core/lib/Drupal/Component/Gettext/PoMemoryWriter.php @@ -27,7 +27,7 @@ function __construct() { } /** - * Implements Drupal\Component\Gettext\PoWriterInterface::writeItem(). + * {@inheritdoc} */ public function writeItem(PoItem $item) { if (is_array($item->getSource())) { @@ -39,7 +39,7 @@ public function writeItem(PoItem $item) { } /** - * Implements Drupal\Component\Gettext\PoWriterInterface::writeItems(). + * {@inheritdoc} */ public function writeItems(PoReaderInterface $reader, $count = -1) { $forever = $count == -1; diff --git a/core/lib/Drupal/Component/Gettext/PoStreamReader.php b/core/lib/Drupal/Component/Gettext/PoStreamReader.php index 9e58d8056d855f0f1d3a7a28573048132e9ef2ad..fb07858e72ce32470c3a273db8b4813253e02255 100644 --- a/core/lib/Drupal/Component/Gettext/PoStreamReader.php +++ b/core/lib/Drupal/Component/Gettext/PoStreamReader.php @@ -103,21 +103,21 @@ class PoStreamReader implements PoStreamInterface, PoReaderInterface { private $_errors; /** - * Implements Drupal\Component\Gettext\PoMetadataInterface::getLangcode(). + * {@inheritdoc} */ public function getLangcode() { return $this->_langcode; } /** - * Implements Drupal\Component\Gettext\PoMetadataInterface::setLangcode(). + * {@inheritdoc} */ public function setLangcode($langcode) { $this->_langcode = $langcode; } /** - * Implements Drupal\Component\Gettext\PoMetadataInterface::getHeader(). + * {@inheritdoc} */ public function getHeader() { return $this->_header; @@ -132,14 +132,14 @@ public function setHeader(PoHeader $header) { } /** - * Implements Drupal\Component\Gettext\PoStreamInterface::getURI(). + * {@inheritdoc} */ public function getURI() { return $this->_uri; } /** - * Implements Drupal\Component\Gettext\PoStreamInterface::setURI(). + * {@inheritdoc} */ public function setURI($uri) { $this->_uri = $uri; @@ -180,7 +180,7 @@ public function close() { } /** - * Implements Drupal\Component\Gettext\PoReaderInterface::readItem(). + * {@inheritdoc} */ public function readItem() { // Clear out the last item. diff --git a/core/lib/Drupal/Component/Gettext/PoStreamWriter.php b/core/lib/Drupal/Component/Gettext/PoStreamWriter.php index e804a2ea46e761bdd9c26d993e1929e19d02d1ce..ea1c7249760d3f6a796f3b179614b0f96c234a5a 100644 --- a/core/lib/Drupal/Component/Gettext/PoStreamWriter.php +++ b/core/lib/Drupal/Component/Gettext/PoStreamWriter.php @@ -74,7 +74,7 @@ public function setLangcode($langcode) { } /** - * Implements Drupal\Component\Gettext\PoStreamInterface::open(). + * {@inheritdoc} */ public function open() { // Open in write mode. Will overwrite the stream if it already exists. @@ -123,14 +123,14 @@ private function writeHeader() { } /** - * Implements Drupal\Component\Gettext\PoWriterInterface::writeItem(). + * {@inheritdoc} */ public function writeItem(PoItem $item) { $this->write($item); } /** - * Implements Drupal\Component\Gettext\PoWriterInterface::writeItems(). + * {@inheritdoc} */ public function writeItems(PoReaderInterface $reader, $count = -1) { $forever = $count == -1; @@ -153,7 +153,7 @@ public function getURI() { } /** - * Implements Drupal\Component\Gettext\PoStreamInterface::setURI(). + * {@inheritdoc} */ public function setURI($uri) { $this->_uri = $uri; diff --git a/core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php b/core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php index 1a89ce26edad2a86c5a0cd57322121de992cfeca..70d8a8752e8a59cd419da05285d037ba9c8aadb8 100644 --- a/core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php +++ b/core/lib/Drupal/Component/PhpStorage/FileReadOnlyStorage.php @@ -34,14 +34,14 @@ public function __construct(array $configuration) { } /** - * Implements Drupal\Component\PhpStorage\PhpStorageInterface::exists(). + * {@inheritdoc} */ public function exists($name) { return file_exists($this->getFullPath($name)); } /** - * Implements Drupal\Component\PhpStorage\PhpStorageInterface::load(). + * {@inheritdoc} */ public function load($name) { // The FALSE returned on failure is enough for the caller to handle this, @@ -50,14 +50,14 @@ public function load($name) { } /** - * Implements Drupal\Component\PhpStorage\PhpStorageInterface::save(). + * {@inheritdoc} */ public function save($name, $code) { return FALSE; } /** - * Implements Drupal\Component\PhpStorage\PhpStorageInterface::delete(). + * {@inheritdoc} */ public function delete($name) { return FALSE; @@ -71,14 +71,14 @@ public function getFullPath($name) { } /** - * Implements Drupal\Component\PhpStorage\PhpStorageInterface::writeable(). + * {@inheritdoc} */ function writeable() { return FALSE; } /** - * Implements Drupal\Component\PhpStorage\PhpStorageInterface::deleteAll(). + * {@inheritdoc} */ public function deleteAll() { return FALSE; diff --git a/core/lib/Drupal/Component/PhpStorage/FileStorage.php b/core/lib/Drupal/Component/PhpStorage/FileStorage.php index 7705f96e093e1482da5ad6277dc9d856796f9cc9..e4e7fde44f23c0fc72edf8e931024a5ae4f21065 100644 --- a/core/lib/Drupal/Component/PhpStorage/FileStorage.php +++ b/core/lib/Drupal/Component/PhpStorage/FileStorage.php @@ -33,14 +33,14 @@ public function __construct(array $configuration) { } /** - * Implements Drupal\Component\PhpStorage\PhpStorageInterface::exists(). + * {@inheritdoc} */ public function exists($name) { return file_exists($this->getFullPath($name)); } /** - * Implements Drupal\Component\PhpStorage\PhpStorageInterface::load(). + * {@inheritdoc} */ public function load($name) { // The FALSE returned on failure is enough for the caller to handle this, @@ -49,7 +49,7 @@ public function load($name) { } /** - * Implements Drupal\Component\PhpStorage\PhpStorageInterface::save(). + * {@inheritdoc} */ public function save($name, $code) { $path = $this->getFullPath($name); @@ -183,7 +183,7 @@ protected function createDirectory($directory, $mode = 0777, $is_backwards_recur } /** - * Implements Drupal\Component\PhpStorage\PhpStorageInterface::delete(). + * {@inheritdoc} */ public function delete($name) { $path = $this->getFullPath($name); @@ -201,14 +201,14 @@ public function getFullPath($name) { } /** - * Implements Drupal\Component\PhpStorage\PhpStorageInterface::writeable(). + * {@inheritdoc} */ public function writeable() { return TRUE; } /** - * Implements Drupal\Component\PhpStorage\PhpStorageInterface::deleteAll(). + * {@inheritdoc} */ public function deleteAll() { return $this->unlink($this->directory); diff --git a/core/lib/Drupal/Component/PhpStorage/MTimeProtectedFileStorage.php b/core/lib/Drupal/Component/PhpStorage/MTimeProtectedFileStorage.php index 077a40dd3895732d1c6a24fcb8b0a94d0ee80732..067a8df7cce9870169c527edf98ccd8847e971fa 100644 --- a/core/lib/Drupal/Component/PhpStorage/MTimeProtectedFileStorage.php +++ b/core/lib/Drupal/Component/PhpStorage/MTimeProtectedFileStorage.php @@ -36,7 +36,7 @@ class MTimeProtectedFileStorage extends MTimeProtectedFastFileStorage { /** - * Implements Drupal\Component\PhpStorage\PhpStorageInterface::load(). + * {@inheritdoc} */ public function load($name) { if (($filename = $this->checkFile($name)) !== FALSE) { @@ -47,7 +47,7 @@ public function load($name) { } /** - * Implements Drupal\Component\PhpStorage\PhpStorageInterface::exists(). + * {@inheritdoc} */ public function exists($name) { return $this->checkFile($name) !== FALSE; diff --git a/core/lib/Drupal/Component/Plugin/Context/Context.php b/core/lib/Drupal/Component/Plugin/Context/Context.php index 852876aa3cb5422b218e3f61c5e7f11c77562b78..ccbaac54d615501dc53004c4af34fe1e5060c9dc 100644 --- a/core/lib/Drupal/Component/Plugin/Context/Context.php +++ b/core/lib/Drupal/Component/Plugin/Context/Context.php @@ -44,7 +44,7 @@ public function __construct(ContextDefinitionInterface $context_definition, $con } /** - * Implements \Drupal\Component\Plugin\Context\ContextInterface::getContextValue(). + * {@inheritdoc} */ public function getContextValue() { // Support optional contexts. @@ -71,14 +71,14 @@ public function hasContextValue() { } /** - * Implements \Drupal\Component\Plugin\Context\ContextInterface::getContextDefinition(). + * {@inheritdoc} */ public function getContextDefinition() { return $this->contextDefinition; } /** - * Implements \Drupal\Component\Plugin\Context\ContextInterface::getConstraints(). + * {@inheritdoc} */ public function getConstraints() { if (empty($this->contextDefinition['class'])) { @@ -88,7 +88,7 @@ public function getConstraints() { } /** - * Implements \Drupal\Component\Plugin\Context\ContextInterface::validate(). + * {@inheritdoc} */ public function validate() { $validator = Validation::createValidatorBuilder() diff --git a/core/lib/Drupal/Component/Plugin/Discovery/StaticDiscovery.php b/core/lib/Drupal/Component/Plugin/Discovery/StaticDiscovery.php index 0837bbbb4a4f75a2e15a1659bce321be8bca8b05..555a73d2d0bb61da21d90f47f2b7f5f142a48c01 100644 --- a/core/lib/Drupal/Component/Plugin/Discovery/StaticDiscovery.php +++ b/core/lib/Drupal/Component/Plugin/Discovery/StaticDiscovery.php @@ -16,7 +16,7 @@ class StaticDiscovery implements DiscoveryInterface { use DiscoveryCachedTrait; /** - * Implements Drupal\Component\Plugin\Discovery\DiscoveryInterface::getDefinitions(). + * {@inheritdoc} */ public function getDefinitions() { if (!$this->definitions) { diff --git a/core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php b/core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php index ab31eacd2299efa58da5b40bf6a49e1bd9b9d0cf..2cbd34f158f75258d4a529756a66e7149d1fe295 100644 --- a/core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php +++ b/core/lib/Drupal/Component/Plugin/Discovery/StaticDiscoveryDecorator.php @@ -52,7 +52,7 @@ public function getDefinition($base_plugin_id, $exception_on_invalid = TRUE) { } /** - * Implements Drupal\Component\Plugin\Discovery\DiscoveryInterface::getDefinitions(). + * {@inheritdoc} */ public function getDefinitions() { if (isset($this->registerDefinitions)) { diff --git a/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php b/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php index 69aa8959c7b24de1a4094a174918ce2ca9b5f9ba..0547afc60f84edb2711412c85a081153973b1a7d 100644 --- a/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php +++ b/core/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php @@ -51,7 +51,7 @@ public function __construct(DiscoveryInterface $discovery, $plugin_interface = N } /** - * Implements Drupal\Component\Plugin\Factory\FactoryInterface::createInstance(). + * {@inheritdoc} */ public function createInstance($plugin_id, array $configuration = array()) { $plugin_definition = $this->discovery->getDefinition($plugin_id); diff --git a/core/lib/Drupal/Component/Plugin/Factory/ReflectionFactory.php b/core/lib/Drupal/Component/Plugin/Factory/ReflectionFactory.php index 26e843a834b0c4a81e08691c8f27b26f64732ec4..daab281ee6e6a130797ca5d42770e486d68660ae 100644 --- a/core/lib/Drupal/Component/Plugin/Factory/ReflectionFactory.php +++ b/core/lib/Drupal/Component/Plugin/Factory/ReflectionFactory.php @@ -15,7 +15,7 @@ class ReflectionFactory extends DefaultFactory { /** - * Implements Drupal\Component\Plugin\Factory\FactoryInterface::createInstance(). + * {@inheritdoc} */ public function createInstance($plugin_id, array $configuration = array()) { $plugin_definition = $this->discovery->getDefinition($plugin_id); diff --git a/core/lib/Drupal/Core/Ajax/CloseDialogCommand.php b/core/lib/Drupal/Core/Ajax/CloseDialogCommand.php index 726ff6c39f45fe8c72a07956f7fdde90e39eafff..f7d9b10e913e258a2a8060dd2b828dd66fba0d0a 100644 --- a/core/lib/Drupal/Core/Ajax/CloseDialogCommand.php +++ b/core/lib/Drupal/Core/Ajax/CloseDialogCommand.php @@ -42,7 +42,7 @@ public function __construct($selector = NULL, $persist = FALSE) { } /** - * Implements \Drupal\Core\Ajax\CommandInterface::render(). + * {@inheritdoc} */ public function render() { return array( diff --git a/core/lib/Drupal/Core/Ajax/SetDialogOptionCommand.php b/core/lib/Drupal/Core/Ajax/SetDialogOptionCommand.php index bad7e1e0c9b767db79e1ae97cb4f7672870147bc..936dbe44cfaa4d792589c1f850b794aa37417900 100644 --- a/core/lib/Drupal/Core/Ajax/SetDialogOptionCommand.php +++ b/core/lib/Drupal/Core/Ajax/SetDialogOptionCommand.php @@ -54,7 +54,7 @@ public function __construct($selector, $option_name, $option_value) { } /** - * Implements \Drupal\Core\Ajax\CommandInterface::render(). + * {@inheritdoc} */ public function render() { return array( diff --git a/core/lib/Drupal/Core/Archiver/ArchiverManager.php b/core/lib/Drupal/Core/Archiver/ArchiverManager.php index b8ac88c5f4e98d53e2a7fa58c243457f17e5944a..88451a1372bba7648cb83cb8e53bec1ebbfad0b5 100644 --- a/core/lib/Drupal/Core/Archiver/ArchiverManager.php +++ b/core/lib/Drupal/Core/Archiver/ArchiverManager.php @@ -39,7 +39,7 @@ public function __construct(\Traversable $namespaces, CacheBackendInterface $cac } /** - * Overrides \Drupal\Component\Plugin\PluginManagerBase::createInstance(). + * {@inheritdoc} */ public function createInstance($plugin_id, array $configuration = array()) { $plugin_definition = $this->getDefinition($plugin_id); @@ -48,7 +48,7 @@ public function createInstance($plugin_id, array $configuration = array()) { } /** - * Implements \Drupal\Core\PluginManagerInterface::getInstance(). + * {@inheritdoc} */ public function getInstance(array $options) { $filepath = $options['filepath']; diff --git a/core/lib/Drupal/Core/Cache/BackendChain.php b/core/lib/Drupal/Core/Cache/BackendChain.php index 2e17d676aec2587d8fc2b6a78f789a63cf1d9147..decff68b918a670de568f5699951102e5c4b224d 100644 --- a/core/lib/Drupal/Core/Cache/BackendChain.php +++ b/core/lib/Drupal/Core/Cache/BackendChain.php @@ -74,7 +74,7 @@ public function prependBackend(CacheBackendInterface $backend) { } /** - * Implements Drupal\Core\Cache\CacheBackendInterface::get(). + * {@inheritdoc} */ public function get($cid, $allow_invalid = FALSE) { foreach ($this->backends as $index => $backend) { @@ -94,7 +94,7 @@ public function get($cid, $allow_invalid = FALSE) { } /** - * Implements Drupal\Core\Cache\CacheBackendInterface::getMultiple(). + * {@inheritdoc} */ public function getMultiple(&$cids, $allow_invalid = FALSE) { $return = array(); @@ -125,7 +125,7 @@ public function getMultiple(&$cids, $allow_invalid = FALSE) { } /** - * Implements Drupal\Core\Cache\CacheBackendInterface::set(). + * {@inheritdoc} */ public function set($cid, $data, $expire = Cache::PERMANENT, array $tags = array()) { foreach ($this->backends as $backend) { @@ -143,7 +143,7 @@ public function setMultiple(array $items) { } /** - * Implements Drupal\Core\Cache\CacheBackendInterface::delete(). + * {@inheritdoc} */ public function delete($cid) { foreach ($this->backends as $backend) { @@ -152,7 +152,7 @@ public function delete($cid) { } /** - * Implements Drupal\Core\Cache\CacheBackendInterface::deleteMultiple(). + * {@inheritdoc} */ public function deleteMultiple(array $cids) { foreach ($this->backends as $backend) { @@ -161,7 +161,7 @@ public function deleteMultiple(array $cids) { } /** - * Implements Drupal\Core\Cache\CacheBackendInterface::deleteAll(). + * {@inheritdoc} */ public function deleteAll() { foreach ($this->backends as $backend) { @@ -170,7 +170,7 @@ public function deleteAll() { } /** - * Implements Drupal\Core\Cache\CacheBackendInterface::invalidate(). + * {@inheritdoc} */ public function invalidate($cid) { foreach ($this->backends as $backend) { @@ -179,7 +179,7 @@ public function invalidate($cid) { } /** - * Implements Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple(). + * {@inheritdoc} */ public function invalidateMultiple(array $cids) { foreach ($this->backends as $backend) { @@ -188,7 +188,7 @@ public function invalidateMultiple(array $cids) { } /** - * Implements Drupal\Core\Cache\CacheBackendInterface::invalidateTags(). + * {@inheritdoc} */ public function invalidateTags(array $tags) { foreach ($this->backends as $backend) { @@ -199,7 +199,7 @@ public function invalidateTags(array $tags) { } /** - * Implements Drupal\Core\Cache\CacheBackendInterface::invalidateAll(). + * {@inheritdoc} */ public function invalidateAll() { foreach ($this->backends as $backend) { @@ -208,7 +208,7 @@ public function invalidateAll() { } /** - * Implements Drupal\Core\Cache\CacheBackendInterface::garbageCollection(). + * {@inheritdoc} */ public function garbageCollection() { foreach ($this->backends as $backend) { diff --git a/core/lib/Drupal/Core/Cache/DatabaseBackend.php b/core/lib/Drupal/Core/Cache/DatabaseBackend.php index 7faa806dece395b8974598f4a5b13fcff5688797..db5c2f03089f36cc2d3c54b27ca278053996006e 100644 --- a/core/lib/Drupal/Core/Cache/DatabaseBackend.php +++ b/core/lib/Drupal/Core/Cache/DatabaseBackend.php @@ -61,7 +61,7 @@ public function __construct(Connection $connection, CacheTagsChecksumInterface $ } /** - * Implements Drupal\Core\Cache\CacheBackendInterface::get(). + * {@inheritdoc} */ public function get($cid, $allow_invalid = FALSE) { $cids = array($cid); @@ -70,7 +70,7 @@ public function get($cid, $allow_invalid = FALSE) { } /** - * Implements Drupal\Core\Cache\CacheBackendInterface::getMultiple(). + * {@inheritdoc} */ public function getMultiple(&$cids, $allow_invalid = FALSE) { $cid_mapping = array(); @@ -240,14 +240,14 @@ protected function doSetMultiple(array $items) { } /** - * Implements Drupal\Core\Cache\CacheBackendInterface::delete(). + * {@inheritdoc} */ public function delete($cid) { $this->deleteMultiple(array($cid)); } /** - * Implements Drupal\Core\Cache\CacheBackendInterface::deleteMultiple(). + * {@inheritdoc} */ public function deleteMultiple(array $cids) { $cids = array_values(array_map(array($this, 'normalizeCid'), $cids)); @@ -270,7 +270,7 @@ public function deleteMultiple(array $cids) { } /** - * Implements Drupal\Core\Cache\CacheBackendInterface::deleteAll(). + * {@inheritdoc} */ public function deleteAll() { try { @@ -287,14 +287,14 @@ public function deleteAll() { } /** - * Implements Drupal\Core\Cache\CacheBackendInterface::invalidate(). + * {@inheritdoc} */ public function invalidate($cid) { $this->invalidateMultiple(array($cid)); } /** - * Implements Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple(). + * {@inheritdoc} */ public function invalidateMultiple(array $cids) { $cids = array_values(array_map(array($this, 'normalizeCid'), $cids)); @@ -313,7 +313,7 @@ public function invalidateMultiple(array $cids) { } /** - * Implements Drupal\Core\Cache\CacheBackendInterface::invalidateAll(). + * {@inheritdoc} */ public function invalidateAll() { try { @@ -327,7 +327,7 @@ public function invalidateAll() { } /** - * Implements Drupal\Core\Cache\CacheBackendInterface::garbageCollection(). + * {@inheritdoc} */ public function garbageCollection() { try { diff --git a/core/lib/Drupal/Core/Cache/MemoryBackend.php b/core/lib/Drupal/Core/Cache/MemoryBackend.php index 5c93e06f1e16cc60ea84a239d60f13905a98184f..57b8a0107e6d8bb33798706f77bc84528b3201b5 100644 --- a/core/lib/Drupal/Core/Cache/MemoryBackend.php +++ b/core/lib/Drupal/Core/Cache/MemoryBackend.php @@ -34,7 +34,7 @@ public function __construct($bin) { } /** - * Implements Drupal\Core\Cache\CacheBackendInterface::get(). + * {@inheritdoc} */ public function get($cid, $allow_invalid = FALSE) { if (isset($this->cache[$cid])) { @@ -46,7 +46,7 @@ public function get($cid, $allow_invalid = FALSE) { } /** - * Implements Drupal\Core\Cache\CacheBackendInterface::getMultiple(). + * {@inheritdoc} */ public function getMultiple(&$cids, $allow_invalid = FALSE) { $ret = array(); @@ -104,7 +104,7 @@ protected function prepareItem($cache, $allow_invalid) { } /** - * Implements Drupal\Core\Cache\CacheBackendInterface::set(). + * {@inheritdoc} */ public function set($cid, $data, $expire = Cache::PERMANENT, array $tags = array()) { assert('\Drupal\Component\Assertion\Inspector::assertAllStrings($tags)', 'Cache Tags must be strings.'); @@ -130,28 +130,28 @@ public function setMultiple(array $items = array()) { } /** - * Implements Drupal\Core\Cache\CacheBackendInterface::delete(). + * {@inheritdoc} */ public function delete($cid) { unset($this->cache[$cid]); } /** - * Implements Drupal\Core\Cache\CacheBackendInterface::deleteMultiple(). + * {@inheritdoc} */ public function deleteMultiple(array $cids) { $this->cache = array_diff_key($this->cache, array_flip($cids)); } /** - * Implements Drupal\Core\Cache\CacheBackendInterface::deleteAll(). + * {@inheritdoc} */ public function deleteAll() { $this->cache = array(); } /** - * Implements Drupal\Core\Cache\CacheBackendInterface::invalidate(). + * {@inheritdoc} */ public function invalidate($cid) { if (isset($this->cache[$cid])) { @@ -160,7 +160,7 @@ public function invalidate($cid) { } /** - * Implements Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple(). + * {@inheritdoc} */ public function invalidateMultiple(array $cids) { foreach ($cids as $cid) { @@ -180,7 +180,7 @@ public function invalidateTags(array $tags) { } /** - * Implements Drupal\Core\Cache\CacheBackendInterface::invalidateAll(). + * {@inheritdoc} */ public function invalidateAll() { foreach ($this->cache as $cid => $item) { @@ -189,7 +189,7 @@ public function invalidateAll() { } /** - * Implements Drupal\Core\Cache\CacheBackendInterface::garbageCollection() + * {@inheritdoc} */ public function garbageCollection() { } diff --git a/core/lib/Drupal/Core/Cache/MemoryCounterBackend.php b/core/lib/Drupal/Core/Cache/MemoryCounterBackend.php index 65950bf1db473c4732ee147a33977a6cbf9f0d6c..0eb55941e6da5cc0b28350b39af1314119072c0b 100644 --- a/core/lib/Drupal/Core/Cache/MemoryCounterBackend.php +++ b/core/lib/Drupal/Core/Cache/MemoryCounterBackend.php @@ -26,7 +26,7 @@ class MemoryCounterBackend extends MemoryBackend { protected $counter = array(); /** - * Implements \Drupal\Core\Cache\CacheBackendInterface::get(). + * {@inheritdoc} */ public function get($cid, $allow_invalid = FALSE) { $this->increaseCounter(__FUNCTION__, $cid); @@ -34,7 +34,7 @@ public function get($cid, $allow_invalid = FALSE) { } /** - * Implements \Drupal\Core\Cache\CacheBackendInterface::set(). + * {@inheritdoc} */ public function set($cid, $data, $expire = Cache::PERMANENT, array $tags = array()) { $this->increaseCounter(__FUNCTION__, $cid); @@ -42,7 +42,7 @@ public function set($cid, $data, $expire = Cache::PERMANENT, array $tags = array } /** - * Implements \Drupal\Core\Cache\CacheBackendInterface::delete(). + * {@inheritdoc} */ public function delete($cid) { $this->increaseCounter(__FUNCTION__, $cid); diff --git a/core/lib/Drupal/Core/Cache/NullBackend.php b/core/lib/Drupal/Core/Cache/NullBackend.php index 57ed5da4bef6be3f42eee27b79fc7b1dbfccebe3..24429e2e8ab62c9b156ab1776373de5f21249d44 100644 --- a/core/lib/Drupal/Core/Cache/NullBackend.php +++ b/core/lib/Drupal/Core/Cache/NullBackend.php @@ -31,21 +31,21 @@ class NullBackend implements CacheBackendInterface { public function __construct($bin) {} /** - * Implements Drupal\Core\Cache\CacheBackendInterface::get(). + * {@inheritdoc} */ public function get($cid, $allow_invalid = FALSE) { return FALSE; } /** - * Implements Drupal\Core\Cache\CacheBackendInterface::getMultiple(). + * {@inheritdoc} */ public function getMultiple(&$cids, $allow_invalid = FALSE) { return array(); } /** - * Implements Drupal\Core\Cache\CacheBackendInterface::set(). + * {@inheritdoc} */ public function set($cid, $data, $expire = Cache::PERMANENT, array $tags = array()) {} @@ -55,37 +55,37 @@ public function set($cid, $data, $expire = Cache::PERMANENT, array $tags = array public function setMultiple(array $items = array()) {} /** - * Implements Drupal\Core\Cache\CacheBackendInterface::delete(). + * {@inheritdoc} */ public function delete($cid) {} /** - * Implements Drupal\Core\Cache\CacheBackendInterface::deleteMultiple(). + * {@inheritdoc} */ public function deleteMultiple(array $cids) {} /** - * Implements Drupal\Core\Cache\CacheBackendInterface::deleteAll(). + * {@inheritdoc} */ public function deleteAll() {} /** - * Implements Drupal\Core\Cache\CacheBackendInterface::invalidate(). + * {@inheritdoc} */ public function invalidate($cid) {} /** - * Implements Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple(). + * {@inheritdoc} */ public function invalidateMultiple(array $cids) {} /** - * Implements Drupal\Core\Cache\CacheBackendInterface::invalidateAll(). + * {@inheritdoc} */ public function invalidateAll() {} /** - * Implements Drupal\Core\Cache\CacheBackendInterface::garbageCollection(). + * {@inheritdoc} */ public function garbageCollection() {} diff --git a/core/lib/Drupal/Core/Condition/ConditionManager.php b/core/lib/Drupal/Core/Condition/ConditionManager.php index 0fef97b79f69edeec0148eb1e517ffb1a939aa45..96cc00e0af31df35dc2e4c919b040d456346ed20 100644 --- a/core/lib/Drupal/Core/Condition/ConditionManager.php +++ b/core/lib/Drupal/Core/Condition/ConditionManager.php @@ -65,7 +65,7 @@ public function createInstance($plugin_id, array $configuration = array()) { } /** - * Implements Drupal\Core\Executable\ExecutableManagerInterface::execute(). + * {@inheritdoc} */ public function execute(ExecutableInterface $condition) { $result = $condition->evaluate(); diff --git a/core/lib/Drupal/Core/Config/CachedStorage.php b/core/lib/Drupal/Core/Config/CachedStorage.php index eb9749ebe8d41eda6ea31617ba30a331a8abd540..c42e013356f8d27f9f0fcfceeaaacbf36044bf2c 100644 --- a/core/lib/Drupal/Core/Config/CachedStorage.php +++ b/core/lib/Drupal/Core/Config/CachedStorage.php @@ -55,7 +55,7 @@ public function __construct(StorageInterface $storage, CacheBackendInterface $ca } /** - * Implements Drupal\Core\Config\StorageInterface::exists(). + * {@inheritdoc} */ public function exists($name) { // The cache would read in the entire data (instead of only checking whether @@ -65,7 +65,7 @@ public function exists($name) { } /** - * Implements Drupal\Core\Config\StorageInterface::read(). + * {@inheritdoc} */ public function read($name) { $cache_key = $this->getCacheKey($name); @@ -123,7 +123,7 @@ public function readMultiple(array $names) { } /** - * Implements Drupal\Core\Config\StorageInterface::write(). + * {@inheritdoc} */ public function write($name, array $data) { if ($this->storage->write($name, $data)) { @@ -137,7 +137,7 @@ public function write($name, array $data) { } /** - * Implements Drupal\Core\Config\StorageInterface::delete(). + * {@inheritdoc} */ public function delete($name) { // If the cache was the first to be deleted, another process might start @@ -151,7 +151,7 @@ public function delete($name) { } /** - * Implements Drupal\Core\Config\StorageInterface::rename(). + * {@inheritdoc} */ public function rename($name, $new_name) { // If the cache was the first to be deleted, another process might start @@ -166,14 +166,14 @@ public function rename($name, $new_name) { } /** - * Implements Drupal\Core\Config\StorageInterface::encode(). + * {@inheritdoc} */ public function encode($data) { return $this->storage->encode($data); } /** - * Implements Drupal\Core\Config\StorageInterface::decode(). + * {@inheritdoc} */ public function decode($raw) { return $this->storage->decode($raw); @@ -215,7 +215,7 @@ protected function findByPrefix($prefix) { } /** - * Implements Drupal\Core\Config\StorageInterface::deleteAll(). + * {@inheritdoc} */ public function deleteAll($prefix = '') { // If the cache was the first to be deleted, another process might start diff --git a/core/lib/Drupal/Core/Config/DatabaseStorage.php b/core/lib/Drupal/Core/Config/DatabaseStorage.php index 646a1d54a2ddb06b11b4b8a1a6338de945a63821..70096a07daf1894bcc169faea159bce31ed29f78 100644 --- a/core/lib/Drupal/Core/Config/DatabaseStorage.php +++ b/core/lib/Drupal/Core/Config/DatabaseStorage.php @@ -67,7 +67,7 @@ public function __construct(Connection $connection, $table, array $options = arr } /** - * Implements Drupal\Core\Config\StorageInterface::exists(). + * {@inheritdoc} */ public function exists($name) { try { @@ -247,7 +247,7 @@ public function rename($name, $new_name) { } /** - * Implements Drupal\Core\Config\StorageInterface::encode(). + * {@inheritdoc} */ public function encode($data) { return serialize($data); diff --git a/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php b/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php index 0ed51620d24631a4a9bd1292e6b4057d88f17c1a..ab2fb1058332e58de84eaa0bd072ab0c1683be41 100644 --- a/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php +++ b/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php @@ -111,7 +111,7 @@ abstract class ConfigEntityBase extends Entity implements ConfigEntityInterface protected $trustedData = FALSE; /** - * Overrides Entity::__construct(). + * {@inheritdoc} */ public function __construct(array $values, $entity_type) { parent::__construct($values, $entity_type); diff --git a/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php b/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php index 4912dc6870058073033db975aaf5367e5ace9435..3404957fb5e5dded65e9e85f7c1f9a762097d6f9 100644 --- a/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php +++ b/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php @@ -138,7 +138,7 @@ public function loadRevision($revision_id) { } /** - * Implements Drupal\Core\Entity\EntityStorageInterface::deleteRevision(). + * {@inheritdoc} */ public function deleteRevision($revision_id) { return NULL; diff --git a/core/lib/Drupal/Core/Config/Entity/Query/Condition.php b/core/lib/Drupal/Core/Config/Entity/Query/Condition.php index 3d378b9ec5a14253a13a6d74ff04e86efe9a9d3d..9aa18d7c0fab84cb801faf3393c3cfb365b818e2 100644 --- a/core/lib/Drupal/Core/Config/Entity/Query/Condition.php +++ b/core/lib/Drupal/Core/Config/Entity/Query/Condition.php @@ -20,7 +20,7 @@ class Condition extends ConditionBase { /** - * Implements \Drupal\Core\Entity\Query\ConditionInterface::compile(). + * {@inheritdoc} */ public function compile($configs) { $and = strtoupper($this->conjunction) == 'AND'; @@ -86,14 +86,14 @@ public function compile($configs) { } /** - * Implements \Drupal\Core\Entity\Query\ConditionInterface::exists(). + * {@inheritdoc} */ public function exists($field, $langcode = NULL) { return $this->condition($field, NULL, 'IS NOT NULL', $langcode); } /** - * Implements \Drupal\Core\Entity\Query\ConditionInterface::notExists(). + * {@inheritdoc} */ public function notExists($field, $langcode = NULL) { return $this->condition($field, NULL, 'IS NULL', $langcode); diff --git a/core/lib/Drupal/Core/Config/Entity/Query/Query.php b/core/lib/Drupal/Core/Config/Entity/Query/Query.php index 6921e7a041578c55ae157d8efc909174c710dc87..fba7b3c1f79f3b1784711ad73c8a0213b435a9d8 100644 --- a/core/lib/Drupal/Core/Config/Entity/Query/Query.php +++ b/core/lib/Drupal/Core/Config/Entity/Query/Query.php @@ -80,7 +80,7 @@ public function condition($property, $value = NULL, $operator = NULL, $langcode } /** - * Implements \Drupal\Core\Entity\Query\QueryInterface::execute(). + * {@inheritdoc} */ public function execute() { // Load the relevant config records. diff --git a/core/lib/Drupal/Core/Config/FileStorage.php b/core/lib/Drupal/Core/Config/FileStorage.php index aaac1829b40eb87f4cd73795e2a43c07e4ecc8ef..c630fec2e599888bcbba67ecf6326465e12b6dc8 100644 --- a/core/lib/Drupal/Core/Config/FileStorage.php +++ b/core/lib/Drupal/Core/Config/FileStorage.php @@ -80,7 +80,7 @@ protected function ensureStorage() { } /** - * Implements Drupal\Core\Config\StorageInterface::exists(). + * {@inheritdoc} */ public function exists($name) { return file_exists($this->getFilePath($name)); @@ -146,7 +146,7 @@ public function write($name, array $data) { } /** - * Implements Drupal\Core\Config\StorageInterface::delete(). + * {@inheritdoc} */ public function delete($name) { if (!$this->exists($name)) { @@ -160,7 +160,7 @@ public function delete($name) { } /** - * Implements Drupal\Core\Config\StorageInterface::rename(). + * {@inheritdoc} */ public function rename($name, $new_name) { $status = @rename($this->getFilePath($name), $this->getFilePath($new_name)); @@ -171,14 +171,14 @@ public function rename($name, $new_name) { } /** - * Implements Drupal\Core\Config\StorageInterface::encode(). + * {@inheritdoc} */ public function encode($data) { return Yaml::encode($data); } /** - * Implements Drupal\Core\Config\StorageInterface::decode(). + * {@inheritdoc} */ public function decode($raw) { $data = Yaml::decode($raw); @@ -190,7 +190,7 @@ public function decode($raw) { } /** - * Implements Drupal\Core\Config\StorageInterface::listAll(). + * {@inheritdoc} */ public function listAll($prefix = '') { $dir = $this->getCollectionDirectory(); @@ -216,7 +216,7 @@ public function listAll($prefix = '') { } /** - * Implements Drupal\Core\Config\StorageInterface::deleteAll(). + * {@inheritdoc} */ public function deleteAll($prefix = '') { $success = TRUE; diff --git a/core/lib/Drupal/Core/Config/InstallStorage.php b/core/lib/Drupal/Core/Config/InstallStorage.php index 084325020ab35e336f12c87a6e499bcd5aef2f3c..a1d967d06505ec42168783452ec1f727e7fd67f0 100644 --- a/core/lib/Drupal/Core/Config/InstallStorage.php +++ b/core/lib/Drupal/Core/Config/InstallStorage.php @@ -129,7 +129,7 @@ public function rename($name, $new_name) { } /** - * Implements Drupal\Core\Config\StorageInterface::listAll(). + * {@inheritdoc} */ public function listAll($prefix = '') { $names = array_keys($this->getAllFolders()); diff --git a/core/lib/Drupal/Core/Config/NullStorage.php b/core/lib/Drupal/Core/Config/NullStorage.php index 270aa8b1051c3a9fe2590230ff3ab90c6a4d052e..6777caaa544ca866067b27479da12ba9089d9796 100644 --- a/core/lib/Drupal/Core/Config/NullStorage.php +++ b/core/lib/Drupal/Core/Config/NullStorage.php @@ -24,70 +24,70 @@ class NullStorage implements StorageInterface { /** - * Implements Drupal\Core\Config\StorageInterface::exists(). + * {@inheritdoc} */ public function exists($name) { return FALSE; } /** - * Implements Drupal\Core\Config\StorageInterface::read(). + * {@inheritdoc} */ public function read($name) { return array(); } /** - * Implements Drupal\Core\Config\StorageInterface::readMultiple(). + * {@inheritdoc} */ public function readMultiple(array $names) { return array(); } /** - * Implements Drupal\Core\Config\StorageInterface::write(). + * {@inheritdoc} */ public function write($name, array $data) { return FALSE; } /** - * Implements Drupal\Core\Config\StorageInterface::delete(). + * {@inheritdoc} */ public function delete($name) { return FALSE; } /** - * Implements Drupal\Core\Config\StorageInterface::rename(). + * {@inheritdoc} */ public function rename($name, $new_name) { return FALSE; } /** - * Implements Drupal\Core\Config\StorageInterface::encode(). + * {@inheritdoc} */ public function encode($data) { return $data; } /** - * Implements Drupal\Core\Config\StorageInterface::decode(). + * {@inheritdoc} */ public function decode($raw) { return $raw; } /** - * Implements Drupal\Core\Config\StorageInterface::listAll(). + * {@inheritdoc} */ public function listAll($prefix = '') { return array(); } /** - * Implements Drupal\Core\Config\StorageInterface::deleteAll(). + * {@inheritdoc} */ public function deleteAll($prefix = '') { return FALSE; diff --git a/core/lib/Drupal/Core/Config/Schema/ArrayElement.php b/core/lib/Drupal/Core/Config/Schema/ArrayElement.php index c4641cf0288fb32d8a2b7e7465dae1055ba0cdbc..c787a4bfb022c45a5dc43152f8ffa02cd45986e7 100644 --- a/core/lib/Drupal/Core/Config/Schema/ArrayElement.php +++ b/core/lib/Drupal/Core/Config/Schema/ArrayElement.php @@ -115,7 +115,7 @@ public function onChange($name) { } /** - * Implements IteratorAggregate::getIterator(); + * {@inheritdoc} */ public function getIterator() { return new \ArrayIterator($this->getElements()); diff --git a/core/lib/Drupal/Core/Database/Query/Condition.php b/core/lib/Drupal/Core/Database/Query/Condition.php index fe9ac4f07caf21e768bbe8be9fda733995a078a4..eccba25b6d5034ae82ace6d693b4a98e0e72487a 100644 --- a/core/lib/Drupal/Core/Database/Query/Condition.php +++ b/core/lib/Drupal/Core/Database/Query/Condition.php @@ -66,7 +66,7 @@ public function count() { } /** - * Implements Drupal\Core\Database\Query\ConditionInterface::condition(). + * {@inheritdoc} */ public function condition($field, $value = NULL, $operator = '=') { if (empty($operator)) { @@ -88,7 +88,7 @@ public function condition($field, $value = NULL, $operator = '=') { } /** - * Implements Drupal\Core\Database\Query\ConditionInterface::where(). + * {@inheritdoc} */ public function where($snippet, $args = array()) { $this->conditions[] = array( @@ -102,42 +102,42 @@ public function where($snippet, $args = array()) { } /** - * Implements Drupal\Core\Database\Query\ConditionInterface::isNull(). + * {@inheritdoc} */ public function isNull($field) { return $this->condition($field, NULL, 'IS NULL'); } /** - * Implements Drupal\Core\Database\Query\ConditionInterface::isNotNull(). + * {@inheritdoc} */ public function isNotNull($field) { return $this->condition($field, NULL, 'IS NOT NULL'); } /** - * Implements Drupal\Core\Database\Query\ConditionInterface::exists(). + * {@inheritdoc} */ public function exists(SelectInterface $select) { return $this->condition('', $select, 'EXISTS'); } /** - * Implements Drupal\Core\Database\Query\ConditionInterface::notExists(). + * {@inheritdoc} */ public function notExists(SelectInterface $select) { return $this->condition('', $select, 'NOT EXISTS'); } /** - * Implements Drupal\Core\Database\Query\ConditionInterface::conditions(). + * {@inheritdoc} */ public function &conditions() { return $this->conditions; } /** - * Implements Drupal\Core\Database\Query\ConditionInterface::arguments(). + * {@inheritdoc} */ public function arguments() { // If the caller forgot to call compile() first, refuse to run. @@ -148,7 +148,7 @@ public function arguments() { } /** - * Implements Drupal\Core\Database\Query\ConditionInterface::compile(). + * {@inheritdoc} */ public function compile(Connection $connection, PlaceholderInterface $queryPlaceholder) { // Re-compile if this condition changed or if we are compiled against a @@ -247,7 +247,7 @@ public function compile(Connection $connection, PlaceholderInterface $queryPlace } /** - * Implements Drupal\Core\Database\Query\ConditionInterface::compiled(). + * {@inheritdoc} */ public function compiled() { return !$this->changed; diff --git a/core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php b/core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php index d3f20341770437a309f8197d1f45aec8a21cfd56..c3e88f6375ca4e69eb65c36bd2f669fc957a9b3a 100644 --- a/core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php +++ b/core/lib/Drupal/Core/Database/Query/QueryConditionTrait.php @@ -26,7 +26,7 @@ trait QueryConditionTrait { protected $condition; /** - * Implements Drupal\Core\Database\Query\ConditionInterface::condition(). + * {@inheritdoc} */ public function condition($field, $value = NULL, $operator = '=') { $this->condition->condition($field, $value, $operator); @@ -34,7 +34,7 @@ public function condition($field, $value = NULL, $operator = '=') { } /** - * Implements Drupal\Core\Database\Query\ConditionInterface::isNull(). + * {@inheritdoc} */ public function isNull($field) { $this->condition->isNull($field); @@ -42,7 +42,7 @@ public function isNull($field) { } /** - * Implements Drupal\Core\Database\Query\ConditionInterface::isNotNull(). + * {@inheritdoc} */ public function isNotNull($field) { $this->condition->isNotNull($field); @@ -50,7 +50,7 @@ public function isNotNull($field) { } /** - * Implements Drupal\Core\Database\Query\ConditionInterface::exists(). + * {@inheritdoc} */ public function exists(SelectInterface $select) { $this->condition->exists($select); @@ -58,7 +58,7 @@ public function exists(SelectInterface $select) { } /** - * Implements Drupal\Core\Database\Query\ConditionInterface::notExists(). + * {@inheritdoc} */ public function notExists(SelectInterface $select) { $this->condition->notExists($select); @@ -66,21 +66,21 @@ public function notExists(SelectInterface $select) { } /** - * Implements Drupal\Core\Database\Query\ConditionInterface::conditions(). + * {@inheritdoc} */ public function &conditions() { return $this->condition->conditions(); } /** - * Implements Drupal\Core\Database\Query\ConditionInterface::arguments(). + * {@inheritdoc} */ public function arguments() { return $this->condition->arguments(); } /** - * Implements Drupal\Core\Database\Query\ConditionInterface::where(). + * {@inheritdoc} */ public function where($snippet, $args = array()) { $this->condition->where($snippet, $args); @@ -88,35 +88,35 @@ public function where($snippet, $args = array()) { } /** - * Implements Drupal\Core\Database\Query\ConditionInterface::compile(). + * {@inheritdoc} */ public function compile(Connection $connection, PlaceholderInterface $queryPlaceholder) { $this->condition->compile($connection, $queryPlaceholder); } /** - * Implements Drupal\Core\Database\Query\ConditionInterface::compiled(). + * {@inheritdoc} */ public function compiled() { return $this->condition->compiled(); } /** - * Implements Drupal\Core\Database\Query\ConditionInterface::conditionGroupFactory(). + * {@inheritdoc} */ public function conditionGroupFactory($conjunction = 'AND') { return new Condition($conjunction); } /** - * Implements Drupal\Core\Database\Query\ConditionInterface::andConditionGroup(). + * {@inheritdoc} */ public function andConditionGroup() { return $this->conditionGroupFactory('AND'); } /** - * Implements Drupal\Core\Database\Query\ConditionInterface::orConditionGroup(). + * {@inheritdoc} */ public function orConditionGroup() { return $this->conditionGroupFactory('OR'); diff --git a/core/lib/Drupal/Core/Database/Query/Truncate.php b/core/lib/Drupal/Core/Database/Query/Truncate.php index f36dfac6f534d0d19fe8ad466910fcb0ecb4e330..e1c83816c755caeae00ff15ab6235ce7557e5fea 100644 --- a/core/lib/Drupal/Core/Database/Query/Truncate.php +++ b/core/lib/Drupal/Core/Database/Query/Truncate.php @@ -40,14 +40,14 @@ public function __construct(Connection $connection, $table, array $options = arr } /** - * Implements Drupal\Core\Database\Query\ConditionInterface::compile(). + * {@inheritdoc} */ public function compile(Connection $connection, PlaceholderInterface $queryPlaceholder) { return $this->condition->compile($connection, $queryPlaceholder); } /** - * Implements Drupal\Core\Database\Query\ConditionInterface::compiled(). + * {@inheritdoc} */ public function compiled() { return $this->condition->compiled(); diff --git a/core/lib/Drupal/Core/Database/Schema.php b/core/lib/Drupal/Core/Database/Schema.php index 8b6fa57ec8b502cd559cb8213d48e47009e5b23a..c3ef301958468ddb89deabcb8f881c155eeb9a56 100644 --- a/core/lib/Drupal/Core/Database/Schema.php +++ b/core/lib/Drupal/Core/Database/Schema.php @@ -56,14 +56,14 @@ public function __clone() { } /** - * Implements PlaceHolderInterface::uniqueIdentifier(). + * {@inheritdoc} */ public function uniqueIdentifier() { return $this->uniqueIdentifier; } /** - * Implements PlaceHolderInterface::nextPlaceholder(). + * {@inheritdoc} */ public function nextPlaceholder() { return $this->placeholder++; diff --git a/core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterServicesForDestructionPass.php b/core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterServicesForDestructionPass.php index 479fbd54c6f6edb6955a775a61f1d9559de21709..ca04b0275375435f6a4eb67f402e39474dbc753e 100644 --- a/core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterServicesForDestructionPass.php +++ b/core/lib/Drupal/Core/DependencyInjection/Compiler/RegisterServicesForDestructionPass.php @@ -19,7 +19,7 @@ class RegisterServicesForDestructionPass implements CompilerPassInterface { /** - * Implements \Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface::process(). + * {@inheritdoc} */ public function process(ContainerBuilder $container) { if (!$container->hasDefinition('kernel_destruct_subscriber')) { diff --git a/core/lib/Drupal/Core/Entity/ContentEntityBase.php b/core/lib/Drupal/Core/Entity/ContentEntityBase.php index 4f1c4dcdad5815d4f763342cb15314ff50a726e1..4f11f1e512279799ea86d128f9feb773db07e40c 100644 --- a/core/lib/Drupal/Core/Entity/ContentEntityBase.php +++ b/core/lib/Drupal/Core/Entity/ContentEntityBase.php @@ -166,7 +166,7 @@ abstract class ContentEntityBase extends Entity implements \IteratorAggregate, C protected $validationRequired = FALSE; /** - * Overrides Entity::__construct(). + * {@inheritdoc} */ public function __construct(array $values, $entity_type, $bundle = FALSE, $translations = array()) { $this->entityTypeId = $entity_type; @@ -998,7 +998,7 @@ public function __unset($name) { } /** - * Overrides Entity::createDuplicate(). + * {@inheritdoc} */ public function createDuplicate() { if ($this->translations[$this->activeLangcode]['status'] == static::TRANSLATION_REMOVED) { diff --git a/core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraint.php b/core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraint.php index 022a345a01c07fe7ce1b9f42dcabdcdea0768f6c..09600fb0a0ef842caaf730a796cdaaadead6a31d 100644 --- a/core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraint.php +++ b/core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraint.php @@ -48,14 +48,14 @@ public function getBundleOption() { } /** - * Overrides Constraint::getDefaultOption(). + * {@inheritdoc} */ public function getDefaultOption() { return 'bundle'; } /** - * Overrides Constraint::getRequiredOptions(). + * {@inheritdoc} */ public function getRequiredOptions() { return array('bundle'); diff --git a/core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityTypeConstraint.php b/core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityTypeConstraint.php index 62194c44f60c4b17df404abb82cfa14f62022e2c..750780563a20ee8729ff1c947903cefec7ce1cd8 100644 --- a/core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityTypeConstraint.php +++ b/core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/EntityTypeConstraint.php @@ -35,14 +35,14 @@ class EntityTypeConstraint extends Constraint { public $type; /** - * Overrides Constraint::getDefaultOption(). + * {@inheritdoc} */ public function getDefaultOption() { return 'type'; } /** - * Overrides Constraint::getRequiredOptions(). + * {@inheritdoc} */ public function getRequiredOptions() { return array('type'); diff --git a/core/lib/Drupal/Core/Entity/Query/ConditionAggregateBase.php b/core/lib/Drupal/Core/Entity/Query/ConditionAggregateBase.php index 5973e60737c88017027589ccb504217fc94b09cc..0e98dce6576f66a7fdcae764ec81c28d6611e95d 100644 --- a/core/lib/Drupal/Core/Entity/Query/ConditionAggregateBase.php +++ b/core/lib/Drupal/Core/Entity/Query/ConditionAggregateBase.php @@ -13,7 +13,7 @@ abstract class ConditionAggregateBase extends ConditionFundamentals implements ConditionAggregateInterface { /** - * Implements \Drupal\Core\Entity\Query\ConditionAggregateInterface::condition(). + * {@inheritdoc} */ public function condition($field, $function = NULL, $value = NULL, $operator = NULL, $langcode = NULL) { $this->conditions[] = array( diff --git a/core/lib/Drupal/Core/Entity/Query/ConditionBase.php b/core/lib/Drupal/Core/Entity/Query/ConditionBase.php index 9c2da41c2c4301c4c82a8ef280d88a2c396c2895..2e5803c6e2ec71329e410dd8494ac63f0bcd616d 100644 --- a/core/lib/Drupal/Core/Entity/Query/ConditionBase.php +++ b/core/lib/Drupal/Core/Entity/Query/ConditionBase.php @@ -13,7 +13,7 @@ abstract class ConditionBase extends ConditionFundamentals implements ConditionInterface { /** - * Implements \Drupal\Core\Entity\Query\ConditionInterface::compile(). + * {@inheritdoc} */ public function condition($field, $value = NULL, $operator = NULL, $langcode = NULL) { $this->conditions[] = array( diff --git a/core/lib/Drupal/Core/Entity/Query/ConditionFundamentals.php b/core/lib/Drupal/Core/Entity/Query/ConditionFundamentals.php index 21667a7b7d204adc7c73d770a4188a4633d90270..600a4172403067fb9eaf6e3605f5a9d6821a7787 100644 --- a/core/lib/Drupal/Core/Entity/Query/ConditionFundamentals.php +++ b/core/lib/Drupal/Core/Entity/Query/ConditionFundamentals.php @@ -60,21 +60,21 @@ public function __construct($conjunction, QueryInterface $query, $namespaces = [ } /** - * Implements \Drupal\Core\Entity\Query\ConditionInterface::getConjunction(). + * {@inheritdoc} */ public function getConjunction() { return $this->conjunction; } /** - * Implements \Countable::count(). + * {@inheritdoc} */ public function count() { return count($this->conditions) - 1; } /** - * Implements \Drupal\Core\Entity\Query\ConditionInterface::conditions(). + * {@inheritdoc} */ public function &conditions() { return $this->conditions; diff --git a/core/lib/Drupal/Core/Entity/Query/Null/Condition.php b/core/lib/Drupal/Core/Entity/Query/Null/Condition.php index 482d4b8a0814227c117fd6621ca39d4afa2f2e28..8e1c4f1e31d2ab82ccb6f11e3d1c1d9989344278 100644 --- a/core/lib/Drupal/Core/Entity/Query/Null/Condition.php +++ b/core/lib/Drupal/Core/Entity/Query/Null/Condition.php @@ -15,20 +15,20 @@ class Condition extends ConditionBase { /** - * Implements \Drupal\Core\Entity\Query\ConditionInterface::compile(). + * {@inheritdoc} */ public function compile($query) { } /** - * Implements \Drupal\Core\Entity\Query\ConditionInterface::exists(). + * {@inheritdoc} */ public function exists($field, $langcode = NULL) { return $this->condition($field, NULL, 'IS NOT NULL', $langcode); } /** - * Implements \Drupal\Core\Entity\Query\ConditionInterface::notExists(). + * {@inheritdoc} */ public function notExists($field, $langcode = NULL) { return $this->condition($field, NULL, 'IS NULL', $langcode); diff --git a/core/lib/Drupal/Core/Entity/Query/Null/Query.php b/core/lib/Drupal/Core/Entity/Query/Null/Query.php index d787940aafaeb8de4de717c9e1355e7d27772850..1fec74ff5bff482861fbfc47e334656c5eb3a7cb 100644 --- a/core/lib/Drupal/Core/Entity/Query/Null/Query.php +++ b/core/lib/Drupal/Core/Entity/Query/Null/Query.php @@ -18,7 +18,7 @@ class Query extends QueryBase implements QueryInterface, QueryAggregateInterface { /** - * Implements \Drupal\Core\Entity\Query\QueryInterface::execute(). + * {@inheritdoc} */ public function execute() { if ($this->count) { diff --git a/core/lib/Drupal/Core/Entity/Query/QueryBase.php b/core/lib/Drupal/Core/Entity/Query/QueryBase.php index e580d2d4db7ba6021dfa26ea5a4947702c7931cf..409f571a6d816a6f8e8869e8d3fc5b3c5380ee0d 100644 --- a/core/lib/Drupal/Core/Entity/Query/QueryBase.php +++ b/core/lib/Drupal/Core/Entity/Query/QueryBase.php @@ -159,7 +159,7 @@ public function getEntityTypeId() { } /** - * Implements \Drupal\Core\Entity\Query\QueryInterface::condition(). + * {@inheritdoc} */ public function condition($property, $value = NULL, $operator = NULL, $langcode = NULL) { $this->condition->condition($property, $value, $operator, $langcode); @@ -167,7 +167,7 @@ public function condition($property, $value = NULL, $operator = NULL, $langcode } /** - * Implements \Drupal\Core\Entity\Query\QueryInterface::exists(). + * {@inheritdoc} */ public function exists($property, $langcode = NULL) { $this->condition->exists($property, $langcode); @@ -175,7 +175,7 @@ public function exists($property, $langcode = NULL) { } /** - * Implements \Drupal\Core\Entity\Query\QueryInterface::notExists(). + * {@inheritdoc} */ public function notExists($property, $langcode = NULL) { $this->condition->notExists($property, $langcode); @@ -183,7 +183,7 @@ public function notExists($property, $langcode = NULL) { } /** - * Implements \Drupal\Core\Entity\Query\QueryInterface::range(). + * {@inheritdoc} */ public function range($start = NULL, $length = NULL) { $this->range = array( @@ -211,21 +211,21 @@ protected function conditionGroupFactory($conjunction = 'AND') { } /** - * Implements \Drupal\Core\Entity\Query\QueryInterface::andConditionGroup(). + * {@inheritdoc} */ public function andConditionGroup() { return $this->conditionGroupFactory('and'); } /** - * Implements \Drupal\Core\Entity\Query\QueryInterface::orConditionGroup(). + * {@inheritdoc} */ public function orConditionGroup() { return $this->conditionGroupFactory('or'); } /** - * Implements \Drupal\Core\Entity\Query\QueryInterface::sort(). + * {@inheritdoc} */ public function sort($field, $direction = 'ASC', $langcode = NULL) { $this->sort[] = array( @@ -237,7 +237,7 @@ public function sort($field, $direction = 'ASC', $langcode = NULL) { } /** - * Implements \Drupal\Core\Entity\Query\QueryInterface::count(). + * {@inheritdoc} */ public function count() { $this->count = TRUE; @@ -245,7 +245,7 @@ public function count() { } /** - * Implements \Drupal\Core\Entity\Query\QueryInterface::accessCheck(). + * {@inheritdoc} */ public function accessCheck($access_check = TRUE) { $this->accessCheck = $access_check; @@ -269,7 +269,7 @@ public function allRevisions() { } /** - * Implements \Drupal\Core\Entity\Query\QueryInterface::pager(). + * {@inheritdoc} */ public function pager($limit = 10, $element = NULL) { // Even when not using SQL, storing the element PagerSelectExtender is as @@ -306,7 +306,7 @@ protected function initializePager() { } /** - * Implements \Drupal\Core\Entity\Query\QueryInterface::tableSort(). + * {@inheritdoc} */ public function tableSort(&$headers) { // If 'field' is not initialized, the header columns aren't clickable. @@ -335,7 +335,7 @@ function __clone() { } /** - * Implements \Drupal\Core\Database\Query\AlterableInterface::addTag(). + * {@inheritdoc} */ public function addTag($tag) { $this->alterTags[$tag] = 1; @@ -343,28 +343,28 @@ public function addTag($tag) { } /** - * Implements \Drupal\Core\Database\Query\AlterableInterface::hasTag(). + * {@inheritdoc} */ public function hasTag($tag) { return isset($this->alterTags[$tag]); } /** - * Implements \Drupal\Core\Database\Query\AlterableInterface::hasAllTags(). + * {@inheritdoc} */ public function hasAllTags() { return !(boolean)array_diff(func_get_args(), array_keys($this->alterTags)); } /** - * Implements \Drupal\Core\Database\Query\AlterableInterface::hasAnyTag(). + * {@inheritdoc} */ public function hasAnyTag() { return (boolean)array_intersect(func_get_args(), array_keys($this->alterTags)); } /** - * Implements \Drupal\Core\Database\Query\AlterableInterface::addMetaData(). + * {@inheritdoc} */ public function addMetaData($key, $object) { $this->alterMetaData[$key] = $object; @@ -372,14 +372,14 @@ public function addMetaData($key, $object) { } /** - * Implements \Drupal\Core\Database\Query\AlterableInterface::getMetaData(). + * {@inheritdoc} */ public function getMetaData($key) { return isset($this->alterMetaData[$key]) ? $this->alterMetaData[$key] : NULL; } /** - * Implements \Drupal\Core\Entity\Query\QueryAggregateInterface::aggregate() + * {@inheritdoc} */ public function aggregate($field, $function, $langcode = NULL, &$alias = NULL) { if (!isset($alias)) { @@ -397,7 +397,7 @@ public function aggregate($field, $function, $langcode = NULL, &$alias = NULL) { } /** - * Implements \Drupal\Core\Entity\Query\QueryAggregateInterface::conditionAggregate(). + * {@inheritdoc} */ public function conditionAggregate($field, $function = NULL, $value = NULL, $operator = '=', $langcode = NULL) { $this->aggregate($field, $function, $langcode); @@ -407,7 +407,7 @@ public function conditionAggregate($field, $function = NULL, $value = NULL, $ope } /** - * Implements \Drupal\Core\Entity\Query\QueryAggregateInterface::sortAggregate(). + * {@inheritdoc} */ public function sortAggregate($field, $function, $direction = 'ASC', $langcode = NULL) { $alias = $this->getAggregationAlias($field, $function); @@ -424,7 +424,7 @@ public function sortAggregate($field, $function, $direction = 'ASC', $langcode = } /** - * Implements \Drupal\Core\Entity\Query\QueryAggregateInterface::execute(). + * {@inheritdoc} */ public function groupBy($field, $langcode = NULL) { $this->groupBy[] = array( diff --git a/core/lib/Drupal/Core/Entity/Query/Sql/ConditionAggregate.php b/core/lib/Drupal/Core/Entity/Query/Sql/ConditionAggregate.php index 1f6965d1230c91e8c313f4bb8e0d6652ca7dd944..23327e83268c9483d71100dbaefde59e6d5a9416 100644 --- a/core/lib/Drupal/Core/Entity/Query/Sql/ConditionAggregate.php +++ b/core/lib/Drupal/Core/Entity/Query/Sql/ConditionAggregate.php @@ -19,7 +19,7 @@ class ConditionAggregate extends ConditionAggregateBase { /** - * Implements \Drupal\Core\Entity\Query\ConditionInterface::compile(). + * {@inheritdoc} */ public function compile($conditionContainer) { // If this is not the top level condition group then the sql query is @@ -50,14 +50,14 @@ public function compile($conditionContainer) { } /** - * Implements \Drupal\Core\Entity\Query\ConditionInterface::exists(). + * {@inheritdoc} */ public function exists($field, $function, $langcode = NULL) { return $this->condition($field, $function, NULL, 'IS NOT NULL', $langcode); } /** - * Implements \Drupal\Core\Entity\Query\ConditionInterface::notExists(). + * {@inheritdoc} */ public function notExists($field, $function, $langcode = NULL) { return $this->condition($field, $function, NULL, 'IS NULL', $langcode); diff --git a/core/lib/Drupal/Core/Entity/Query/Sql/Query.php b/core/lib/Drupal/Core/Entity/Query/Sql/Query.php index 62e04f9a33c5b160eb6baf356487cbdccb2b8f91..0f2ea9b8d1683cf1c6028a673fa24429f2c28d5f 100644 --- a/core/lib/Drupal/Core/Entity/Query/Sql/Query.php +++ b/core/lib/Drupal/Core/Entity/Query/Sql/Query.php @@ -78,7 +78,7 @@ public function __construct(EntityTypeInterface $entity_type, $conjunction, Conn /** - * Implements \Drupal\Core\Entity\Query\QueryInterface::execute(). + * {@inheritdoc} */ public function execute() { return $this diff --git a/core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php b/core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php index 1d5a16e8451cc34a21ac095c1dbf3e16b1eb4201..3250f004ee7afb0a816a9b1d2ccdc15960e6a956 100644 --- a/core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php +++ b/core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php @@ -23,7 +23,7 @@ class QueryAggregate extends Query implements QueryAggregateInterface { protected $sqlExpressions = array(); /** - * Implements \Drupal\Core\Entity\Query\QueryAggregateInterface::execute(). + * {@inheritdoc} */ public function execute() { return $this @@ -39,7 +39,7 @@ public function execute() { } /** - * Overrides \Drupal\Core\Entity\Query\Sql::prepare(). + * {@inheritdoc} */ public function prepare() { parent::prepare(); @@ -49,7 +49,7 @@ public function prepare() { } /** - * Implements \Drupal\Core\Entity\Query\QueryAggregateInterface::conditionAggregateGroupFactory(). + * {@inheritdoc} */ public function conditionAggregateGroupFactory($conjunction = 'AND') { $class = static::getClass($this->namespaces, 'ConditionAggregate'); @@ -57,14 +57,14 @@ public function conditionAggregateGroupFactory($conjunction = 'AND') { } /** - * Overrides \Drupal\Core\Entity\QueryBase::exists(). + * {@inheritdoc} */ public function existsAggregate($field, $function, $langcode = NULL) { return $this->conditionAggregate->exists($field, $function, $langcode); } /** - * Overrides \Drupal\Core\Entity\QueryBase::notExists(). + * {@inheritdoc} */ public function notExistsAggregate($field, $function, $langcode = NULL) { return $this->conditionAggregate->notExists($field, $function, $langcode); diff --git a/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php b/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php index c59ed8ff97128b6e001d3beefa462ab4d055993f..2b4f9a4255da857f0d9321cd55279f26dc9545fe 100644 --- a/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php +++ b/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php @@ -684,7 +684,7 @@ protected function buildQuery($ids, $revision_id = FALSE) { } /** - * Implements \Drupal\Core\Entity\EntityStorageInterface::delete(). + * {@inheritdoc} */ public function delete(array $entities) { if (!$entities) { diff --git a/core/lib/Drupal/Core/Extension/Discovery/RecursiveExtensionFilterIterator.php b/core/lib/Drupal/Core/Extension/Discovery/RecursiveExtensionFilterIterator.php index d5da27cb6ed1b95dfb555aa7124deacd137d2a49..a74dcfc7d3e4062b19ef9b3671a90ffc4a5c82ff 100644 --- a/core/lib/Drupal/Core/Extension/Discovery/RecursiveExtensionFilterIterator.php +++ b/core/lib/Drupal/Core/Extension/Discovery/RecursiveExtensionFilterIterator.php @@ -103,7 +103,7 @@ public function acceptTests($flag = FALSE) { } /** - * Overrides \RecursiveFilterIterator::getChildren(). + * {@inheritdoc} */ public function getChildren() { $filter = parent::getChildren(); @@ -113,7 +113,7 @@ public function getChildren() { } /** - * Implements \FilterIterator::accept(). + * {@inheritdoc} */ public function accept() { $name = $this->current()->getFilename(); diff --git a/core/lib/Drupal/Core/Extension/Extension.php b/core/lib/Drupal/Core/Extension/Extension.php index 17d8b09012e721f98b00c4c771fa03aa2389f469..f023ecab45fee08b283e945bde96074738f727d1 100644 --- a/core/lib/Drupal/Core/Extension/Extension.php +++ b/core/lib/Drupal/Core/Extension/Extension.php @@ -185,7 +185,7 @@ public function serialize() { } /** - * Implements Serializable::unserialize(). + * {@inheritdoc} */ public function unserialize($data) { $data = unserialize($data); diff --git a/core/lib/Drupal/Core/FileTransfer/FTP.php b/core/lib/Drupal/Core/FileTransfer/FTP.php index 9c28e46fb6bd7128cd80784da3adc50b6332de50..4237d92f1a552d233bc3eeeda6f79d43ad348065 100644 --- a/core/lib/Drupal/Core/FileTransfer/FTP.php +++ b/core/lib/Drupal/Core/FileTransfer/FTP.php @@ -13,7 +13,7 @@ abstract class FTP extends FileTransfer { /** - * Overrides Drupal\Core\FileTransfer\FileTransfer::__construct(). + * {@inheritdoc} */ public function __construct($jail, $username, $password, $hostname, $port) { $this->username = $username; @@ -24,7 +24,7 @@ public function __construct($jail, $username, $password, $hostname, $port) { } /** - * Overrides Drupal\Core\FileTransfer\FileTransfer::factory(). + * {@inheritdoc} */ static function factory($jail, $settings) { $username = empty($settings['username']) ? '' : $settings['username']; @@ -43,7 +43,7 @@ static function factory($jail, $settings) { } /** - * Overrides Drupal\Core\FileTransfer\FileTransfer::getSettingsForm(). + * {@inheritdoc} */ public function getSettingsForm() { $form = parent::getSettingsForm(); diff --git a/core/lib/Drupal/Core/FileTransfer/FTPExtension.php b/core/lib/Drupal/Core/FileTransfer/FTPExtension.php index a40e6c1bee3a1103b0c36d1bcbc0f621840e85bb..14bd16b835a7f11df7cc7794c6883abfacc1d10d 100644 --- a/core/lib/Drupal/Core/FileTransfer/FTPExtension.php +++ b/core/lib/Drupal/Core/FileTransfer/FTPExtension.php @@ -13,7 +13,7 @@ class FTPExtension extends FTP implements ChmodInterface { /** - * Implements Drupal\Core\FileTransfer\FileTransfer::connect(). + * {@inheritdoc} */ public function connect() { $this->connection = ftp_connect($this->hostname, $this->port); @@ -27,7 +27,7 @@ public function connect() { } /** - * Implements Drupal\Core\FileTransfer\FileTransfer::copyFileJailed(). + * {@inheritdoc} */ protected function copyFileJailed($source, $destination) { if (!@ftp_put($this->connection, $destination, $source, FTP_BINARY)) { @@ -36,7 +36,7 @@ protected function copyFileJailed($source, $destination) { } /** - * Implements Drupal\Core\FileTransfer\FileTransfer::createDirectoryJailed(). + * {@inheritdoc} */ protected function createDirectoryJailed($directory) { if (!ftp_mkdir($this->connection, $directory)) { @@ -45,7 +45,7 @@ protected function createDirectoryJailed($directory) { } /** - * Implements Drupal\Core\FileTransfer\FileTransfer::removeDirectoryJailed(). + * {@inheritdoc} */ protected function removeDirectoryJailed($directory) { $pwd = ftp_pwd($this->connection); @@ -75,7 +75,7 @@ protected function removeDirectoryJailed($directory) { } /** - * Implements Drupal\Core\FileTransfer\FileTransfer::removeFileJailed(). + * {@inheritdoc} */ protected function removeFileJailed($destination) { if (!ftp_delete($this->connection, $destination)) { @@ -84,7 +84,7 @@ protected function removeFileJailed($destination) { } /** - * Implements Drupal\Core\FileTransfer\FileTransfer::isDirectory(). + * {@inheritdoc} */ public function isDirectory($path) { $result = FALSE; @@ -97,14 +97,14 @@ public function isDirectory($path) { } /** - * Implements Drupal\Core\FileTransfer\FileTransfer::isFile(). + * {@inheritdoc} */ public function isFile($path) { return ftp_size($this->connection, $path) != -1; } /** - * Implements Drupal\Core\FileTransfer\ChmodInterface::chmodJailed(). + * {@inheritdoc} */ function chmodJailed($path, $mode, $recursive) { if (!ftp_chmod($this->connection, $mode, $path)) { diff --git a/core/lib/Drupal/Core/FileTransfer/Local.php b/core/lib/Drupal/Core/FileTransfer/Local.php index 5853369f265d6b37a0ca0112653fc40996d700b8..6dcdf08564f0828f475f55e274eb0bc891e2c64c 100644 --- a/core/lib/Drupal/Core/FileTransfer/Local.php +++ b/core/lib/Drupal/Core/FileTransfer/Local.php @@ -13,21 +13,21 @@ class Local extends FileTransfer implements ChmodInterface { /** - * Implements Drupal\Core\FileTransfer\FileTransfer::connect(). + * {@inheritdoc} */ public function connect() { // No-op } /** - * Overrides Drupal\Core\FileTransfer\FileTransfer::factory(). + * {@inheritdoc} */ static function factory($jail, $settings) { return new Local($jail); } /** - * Implements Drupal\Core\FileTransfer\FileTransfer::copyFileJailed(). + * {@inheritdoc} */ protected function copyFileJailed($source, $destination) { if (@!copy($source, $destination)) { @@ -36,7 +36,7 @@ protected function copyFileJailed($source, $destination) { } /** - * Implements Drupal\Core\FileTransfer\FileTransfer::createDirectoryJailed(). + * {@inheritdoc} */ protected function createDirectoryJailed($directory) { if (!is_dir($directory) && @!mkdir($directory, 0777, TRUE)) { @@ -45,7 +45,7 @@ protected function createDirectoryJailed($directory) { } /** - * Implements Drupal\Core\FileTransfer\FileTransfer::removeDirectoryJailed(). + * {@inheritdoc} */ protected function removeDirectoryJailed($directory) { if (!is_dir($directory)) { @@ -70,7 +70,7 @@ protected function removeDirectoryJailed($directory) { } /** - * Implements Drupal\Core\FileTransfer\FileTransfer::removeFileJailed(). + * {@inheritdoc} */ protected function removeFileJailed($file) { if (@!drupal_unlink($file)) { @@ -79,21 +79,21 @@ protected function removeFileJailed($file) { } /** - * Implements Drupal\Core\FileTransfer\FileTransfer::isDirectory(). + * {@inheritdoc} */ public function isDirectory($path) { return is_dir($path); } /** - * Implements Drupal\Core\FileTransfer\FileTransfer::isFile(). + * {@inheritdoc} */ public function isFile($path) { return is_file($path); } /** - * Implements Drupal\Core\FileTransfer\ChmodInterface::chmodJailed(). + * {@inheritdoc} */ public function chmodJailed($path, $mode, $recursive) { if ($recursive && is_dir($path)) { diff --git a/core/lib/Drupal/Core/FileTransfer/SSH.php b/core/lib/Drupal/Core/FileTransfer/SSH.php index b678ddb5de8e9914760ca1a9ad7934bed7f36c36..0e68753884e5ab01ae7ba1656868bfd654ca30fd 100644 --- a/core/lib/Drupal/Core/FileTransfer/SSH.php +++ b/core/lib/Drupal/Core/FileTransfer/SSH.php @@ -13,7 +13,7 @@ class SSH extends FileTransfer implements ChmodInterface { /** - * Overrides Drupal\Core\FileTransfer\FileTransfer::__construct(). + * {@inheritdoc} */ function __construct($jail, $username, $password, $hostname = "localhost", $port = 22) { $this->username = $username; @@ -24,7 +24,7 @@ function __construct($jail, $username, $password, $hostname = "localhost", $port } /** - * Implements Drupal\Core\FileTransfer\FileTransfer::connect(). + * {@inheritdoc} */ public function connect() { $this->connection = @ssh2_connect($this->hostname, $this->port); @@ -37,7 +37,7 @@ public function connect() { } /** - * Overrides Drupal\Core\FileTransfer\FileTransfer::factory(). + * {@inheritdoc} */ static function factory($jail, $settings) { $username = empty($settings['username']) ? '' : $settings['username']; @@ -48,7 +48,7 @@ static function factory($jail, $settings) { } /** - * Implements Drupal\Core\FileTransfer\FileTransfer::copyFileJailed(). + * {@inheritdoc} */ protected function copyFileJailed($source, $destination) { if (!@ssh2_scp_send($this->connection, $source, $destination)) { @@ -57,7 +57,7 @@ protected function copyFileJailed($source, $destination) { } /** - * Implements Drupal\Core\FileTransfer\FileTransfer::copyDirectoryJailed(). + * {@inheritdoc} */ protected function copyDirectoryJailed($source, $destination) { if (@!ssh2_exec($this->connection, 'cp -Rp ' . escapeshellarg($source) . ' ' . escapeshellarg($destination))) { @@ -66,7 +66,7 @@ protected function copyDirectoryJailed($source, $destination) { } /** - * Implements Drupal\Core\FileTransfer\FileTransfer::createDirectoryJailed(). + * {@inheritdoc} */ protected function createDirectoryJailed($directory) { if (@!ssh2_exec($this->connection, 'mkdir ' . escapeshellarg($directory))) { @@ -75,7 +75,7 @@ protected function createDirectoryJailed($directory) { } /** - * Implements Drupal\Core\FileTransfer\FileTransfer::removeDirectoryJailed(). + * {@inheritdoc} */ protected function removeDirectoryJailed($directory) { if (@!ssh2_exec($this->connection, 'rm -Rf ' . escapeshellarg($directory))) { @@ -84,7 +84,7 @@ protected function removeDirectoryJailed($directory) { } /** - * Implements Drupal\Core\FileTransfer\FileTransfer::removeFileJailed(). + * {@inheritdoc} */ protected function removeFileJailed($destination) { if (!@ssh2_exec($this->connection, 'rm ' . escapeshellarg($destination))) { @@ -113,7 +113,7 @@ public function isDirectory($path) { } /** - * Implements Drupal\Core\FileTransfer\FileTransfer::isFile(). + * {@inheritdoc} */ public function isFile($path) { $file = escapeshellarg($path); @@ -130,7 +130,7 @@ public function isFile($path) { } /** - * Implements Drupal\Core\FileTransfer\ChmodInterface::chmodJailed(). + * {@inheritdoc} */ function chmodJailed($path, $mode, $recursive) { $cmd = sprintf("chmod %s%o %s", $recursive ? '-R ' : '', $mode, escapeshellarg($path)); @@ -140,7 +140,7 @@ function chmodJailed($path, $mode, $recursive) { } /** - * Overrides Drupal\Core\FileTransfer\FileTransfer::getSettingsForm(). + * {@inheritdoc} */ public function getSettingsForm() { $form = parent::getSettingsForm(); diff --git a/core/lib/Drupal/Core/Flood/DatabaseBackend.php b/core/lib/Drupal/Core/Flood/DatabaseBackend.php index 3a4aa0811c1a35e4ab4b79adc0e1860143a5bced..4fd4b2b3e5aea7b5163687841e7c9da8fdb745de 100644 --- a/core/lib/Drupal/Core/Flood/DatabaseBackend.php +++ b/core/lib/Drupal/Core/Flood/DatabaseBackend.php @@ -44,7 +44,7 @@ public function __construct(Connection $connection, RequestStack $request_stack) } /** - * Implements Drupal\Core\Flood\FloodInterface::register(). + * {@inheritdoc} */ public function register($name, $window = 3600, $identifier = NULL) { if (!isset($identifier)) { @@ -61,7 +61,7 @@ public function register($name, $window = 3600, $identifier = NULL) { } /** - * Implements Drupal\Core\Flood\FloodInterface::clear(). + * {@inheritdoc} */ public function clear($name, $identifier = NULL) { if (!isset($identifier)) { @@ -74,7 +74,7 @@ public function clear($name, $identifier = NULL) { } /** - * Implements Drupal\Core\Flood\FloodInterface::isAllowed(). + * {@inheritdoc} */ public function isAllowed($name, $threshold, $window = 3600, $identifier = NULL) { if (!isset($identifier)) { @@ -91,7 +91,7 @@ public function isAllowed($name, $threshold, $window = 3600, $identifier = NULL) } /** - * Implements Drupal\Core\Flood\FloodInterface::garbageCollection(). + * {@inheritdoc} */ public function garbageCollection() { return $this->connection->delete('flood') diff --git a/core/lib/Drupal/Core/Flood/MemoryBackend.php b/core/lib/Drupal/Core/Flood/MemoryBackend.php index b822949e8cacab97c73959f350e40e1da6cb094a..36eeffc25b076133fc2f1bbe1220a246ad72eb1f 100644 --- a/core/lib/Drupal/Core/Flood/MemoryBackend.php +++ b/core/lib/Drupal/Core/Flood/MemoryBackend.php @@ -37,7 +37,7 @@ public function __construct(RequestStack $request_stack) { } /** - * Implements Drupal\Core\Flood\FloodInterface::register(). + * {@inheritdoc} */ public function register($name, $window = 3600, $identifier = NULL) { if (!isset($identifier)) { @@ -50,7 +50,7 @@ public function register($name, $window = 3600, $identifier = NULL) { } /** - * Implements Drupal\Core\Flood\FloodInterface::clear(). + * {@inheritdoc} */ public function clear($name, $identifier = NULL) { if (!isset($identifier)) { @@ -60,7 +60,7 @@ public function clear($name, $identifier = NULL) { } /** - * Implements Drupal\Core\Flood\FloodInterface::isAllowed(). + * {@inheritdoc} */ public function isAllowed($name, $threshold, $window = 3600, $identifier = NULL) { if (!isset($identifier)) { @@ -74,7 +74,7 @@ public function isAllowed($name, $threshold, $window = 3600, $identifier = NULL) } /** - * Implements Drupal\Core\Flood\FloodInterface::garbageCollection(). + * {@inheritdoc} */ public function garbageCollection() { foreach ($this->events as $name => $identifiers) { diff --git a/core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php b/core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php index fb440f372dc03fe479039556c64feb0211ccc026..aaa911450858dec0ac1a724769a213a196215b27 100644 --- a/core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php +++ b/core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php @@ -73,7 +73,7 @@ public function has($key) { } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::getMultiple(). + * {@inheritdoc} */ public function getMultiple(array $keys) { $values = array(); @@ -94,7 +94,7 @@ public function getMultiple(array $keys) { } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::getAll(). + * {@inheritdoc} */ public function getAll() { $result = $this->connection->query('SELECT name, value FROM {' . $this->connection->escapeTable($this->table) . '} WHERE collection = :collection', array(':collection' => $this->collection)); @@ -109,7 +109,7 @@ public function getAll() { } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::set(). + * {@inheritdoc} */ public function set($key, $value) { $this->connection->merge($this->table) @@ -122,7 +122,7 @@ public function set($key, $value) { } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::setIfNotExists(). + * {@inheritdoc} */ public function setIfNotExists($key, $value) { $result = $this->connection->merge($this->table) @@ -149,7 +149,7 @@ public function rename($key, $new_key) { } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::deleteMultiple(). + * {@inheritdoc} */ public function deleteMultiple(array $keys) { // Delete in chunks when a large array is passed. @@ -162,7 +162,7 @@ public function deleteMultiple(array $keys) { } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::deleteAll(). + * {@inheritdoc} */ public function deleteAll() { $this->connection->delete($this->table) diff --git a/core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php b/core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php index 1a20dbc558489f6c5fe373dc59dc09de07f484cf..2304d923a8a944e569f086057dbcc31122c15ffe 100644 --- a/core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php +++ b/core/lib/Drupal/Core/KeyValueStore/DatabaseStorageExpirable.php @@ -47,7 +47,7 @@ public function has($key) { } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::getMultiple(). + * {@inheritdoc} */ public function getMultiple(array $keys) { $values = $this->connection->query( @@ -61,7 +61,7 @@ public function getMultiple(array $keys) { } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::getAll(). + * {@inheritdoc} */ public function getAll() { $values = $this->connection->query( @@ -90,7 +90,7 @@ function setWithExpire($key, $value, $expire) { } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreExpirableInterface::setWithExpireIfNotExists(). + * {@inheritdoc} */ function setWithExpireIfNotExists($key, $value, $expire) { $result = $this->connection->merge($this->table) @@ -116,7 +116,7 @@ function setMultipleWithExpire(array $data, $expire) { } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::deleteMultiple(). + * {@inheritdoc} */ public function deleteMultiple(array $keys) { parent::deleteMultiple($keys); diff --git a/core/lib/Drupal/Core/KeyValueStore/MemoryStorage.php b/core/lib/Drupal/Core/KeyValueStore/MemoryStorage.php index a1ecc9a211bf6bc1e011c6a2b969157fd90c50bb..e5f798a817e1703f5b85ef0d6f5df010cf963931 100644 --- a/core/lib/Drupal/Core/KeyValueStore/MemoryStorage.php +++ b/core/lib/Drupal/Core/KeyValueStore/MemoryStorage.php @@ -27,35 +27,35 @@ public function has($key) { } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::get(). + * {@inheritdoc} */ public function get($key, $default = NULL) { return array_key_exists($key, $this->data) ? $this->data[$key] : $default; } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::getMultiple(). + * {@inheritdoc} */ public function getMultiple(array $keys) { return array_intersect_key($this->data, array_flip($keys)); } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::getAll(). + * {@inheritdoc} */ public function getAll() { return $this->data; } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::set(). + * {@inheritdoc} */ public function set($key, $value) { $this->data[$key] = $value; } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::setIfNotExists(). + * {@inheritdoc} */ public function setIfNotExists($key, $value) { if (!isset($this->data[$key])) { @@ -66,7 +66,7 @@ public function setIfNotExists($key, $value) { } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::setMultiple(). + * {@inheritdoc} */ public function setMultiple(array $data) { $this->data = $data + $this->data; @@ -81,14 +81,14 @@ public function rename($key, $new_key) { } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::delete(). + * {@inheritdoc} */ public function delete($key) { unset($this->data[$key]); } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::deleteMultiple(). + * {@inheritdoc} */ public function deleteMultiple(array $keys) { foreach ($keys as $key) { @@ -97,7 +97,7 @@ public function deleteMultiple(array $keys) { } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::deleteAll(). + * {@inheritdoc} */ public function deleteAll() { $this->data = array(); diff --git a/core/lib/Drupal/Core/KeyValueStore/NullStorageExpirable.php b/core/lib/Drupal/Core/KeyValueStore/NullStorageExpirable.php index dc4a107ddece6f6aa2f637f9b8e8152ae2c4854d..6a178186cb5283aa842aa9a40c283bc3e49cdca5 100644 --- a/core/lib/Drupal/Core/KeyValueStore/NullStorageExpirable.php +++ b/core/lib/Drupal/Core/KeyValueStore/NullStorageExpirable.php @@ -41,38 +41,38 @@ public function has($key) { } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::get(). + * {@inheritdoc} */ public function get($key, $default = NULL) { return NULL; } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::getMultiple(). + * {@inheritdoc} */ public function getMultiple(array $keys) { return array(); } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::getAll(). + * {@inheritdoc} */ public function getAll() { return array(); } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::set(). + * {@inheritdoc} */ public function set($key, $value) { } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::setIfNotExists(). + * {@inheritdoc} */ public function setIfNotExists($key, $value) { } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::setMultiple(). + * {@inheritdoc} */ public function setMultiple(array $data) { } @@ -83,39 +83,39 @@ public function rename($key, $new_key) { } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::delete(). + * {@inheritdoc} */ public function delete($key) { } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::deleteMultiple(). + * {@inheritdoc} */ public function deleteMultiple(array $keys) { } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::deleteAll(). + * {@inheritdoc} */ public function deleteAll() { } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::getCollectionName(). + * {@inheritdoc} */ public function getCollectionName() { return $this->collection; } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreExpirableInterface::setMultipleWithExpire(). + * {@inheritdoc} */ public function setMultipleWithExpire(array $data, $expire) { } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreExpirableInterface::setWithExpire(). + * {@inheritdoc} */ public function setWithExpire($key, $value, $expire) { } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreExpirableInterface::setWithExpireIfNotExists(). + * {@inheritdoc} */ public function setWithExpireIfNotExists($key, $value, $expire) { } diff --git a/core/lib/Drupal/Core/KeyValueStore/StorageBase.php b/core/lib/Drupal/Core/KeyValueStore/StorageBase.php index 1ca8f38da9acb113879faa35a2c4ec61d375f36a..cb33835242073b0c3c044638226aacb9ba6e02fd 100644 --- a/core/lib/Drupal/Core/KeyValueStore/StorageBase.php +++ b/core/lib/Drupal/Core/KeyValueStore/StorageBase.php @@ -20,21 +20,21 @@ abstract class StorageBase implements KeyValueStoreInterface { protected $collection; /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::__construct(). + * {@inheritdoc} */ public function __construct($collection) { $this->collection = $collection; } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::getCollectionName(). + * {@inheritdoc} */ public function getCollectionName() { return $this->collection; } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::get(). + * {@inheritdoc} */ public function get($key, $default = NULL) { $values = $this->getMultiple(array($key)); @@ -42,7 +42,7 @@ public function get($key, $default = NULL) { } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::setMultiple(). + * {@inheritdoc} */ public function setMultiple(array $data) { foreach ($data as $key => $value) { @@ -51,7 +51,7 @@ public function setMultiple(array $data) { } /** - * Implements Drupal\Core\KeyValueStore\KeyValueStoreInterface::delete(). + * {@inheritdoc} */ public function delete($key) { $this->deleteMultiple(array($key)); diff --git a/core/lib/Drupal/Core/Lock/DatabaseLockBackend.php b/core/lib/Drupal/Core/Lock/DatabaseLockBackend.php index 65c1f1282d991ff180a351768056eab19c7a791f..267b6c18573f1478b5c85042f7dd98bcd7adc904 100644 --- a/core/lib/Drupal/Core/Lock/DatabaseLockBackend.php +++ b/core/lib/Drupal/Core/Lock/DatabaseLockBackend.php @@ -38,7 +38,7 @@ public function __construct(Connection $database) { } /** - * Implements Drupal\Core\Lock\LockBackedInterface::acquire(). + * {@inheritdoc} */ public function acquire($name, $timeout = 30.0) { // Insure that the timeout is at least 1 ms. @@ -92,7 +92,7 @@ public function acquire($name, $timeout = 30.0) { } /** - * Implements Drupal\Core\Lock\LockBackedInterface::lockMayBeAvailable(). + * {@inheritdoc} */ public function lockMayBeAvailable($name) { $lock = $this->database->query('SELECT expire, value FROM {semaphore} WHERE name = :name', array(':name' => $name))->fetchAssoc(); @@ -115,7 +115,7 @@ public function lockMayBeAvailable($name) { } /** - * Implements Drupal\Core\Lock\LockBackedInterface::release(). + * {@inheritdoc} */ public function release($name) { unset($this->locks[$name]); @@ -126,7 +126,7 @@ public function release($name) { } /** - * Implements Drupal\Core\Lock\LockBackedInterface::releaseAll(). + * {@inheritdoc} */ public function releaseAll($lock_id = NULL) { // Only attempt to release locks if any were acquired. diff --git a/core/lib/Drupal/Core/Lock/LockBackendAbstract.php b/core/lib/Drupal/Core/Lock/LockBackendAbstract.php index e575e22f355d1a7370cd44d7ea1759f46143a7fa..5fe516e3813142beaa42ee7bd9bdb783d17190c9 100644 --- a/core/lib/Drupal/Core/Lock/LockBackendAbstract.php +++ b/core/lib/Drupal/Core/Lock/LockBackendAbstract.php @@ -29,7 +29,7 @@ abstract class LockBackendAbstract implements LockBackendInterface { protected $locks = array(); /** - * Implements Drupal\Core\Lock\LockBackedInterface::wait(). + * {@inheritdoc} */ public function wait($name, $delay = 30) { // Pause the process for short periods between calling @@ -68,7 +68,7 @@ public function wait($name, $delay = 30) { } /** - * Implements Drupal\Core\Lock\LockBackedInterface::getLockId(). + * {@inheritdoc} */ public function getLockId() { if (!isset($this->lockId)) { diff --git a/core/lib/Drupal/Core/Lock/NullLockBackend.php b/core/lib/Drupal/Core/Lock/NullLockBackend.php index 5ea2b7f8f9a74b3730bf7a78755c80cbc1d0ba81..555a259362571088c9e38ca188286bf8b007f5d3 100644 --- a/core/lib/Drupal/Core/Lock/NullLockBackend.php +++ b/core/lib/Drupal/Core/Lock/NullLockBackend.php @@ -25,36 +25,36 @@ class NullLockBackend implements LockBackendInterface { protected $lockId; /** - * Implements Drupal\Core\Lock\LockBackedInterface::acquire(). + * {@inheritdoc} */ public function acquire($name, $timeout = 30.0) { return TRUE; } /** - * Implements Drupal\Core\Lock\LockBackedInterface::lockMayBeAvailable(). + * {@inheritdoc} */ public function lockMayBeAvailable($name) { return TRUE; } /** - * Implements Drupal\Core\Lock\LockBackedInterface::wait(). + * {@inheritdoc} */ public function wait($name, $delay = 30) {} /** - * Implements Drupal\Core\Lock\LockBackedInterface::release(). + * {@inheritdoc} */ public function release($name) {} /** - * Implements Drupal\Core\Lock\LockBackedInterface::releaseAll(). + * {@inheritdoc} */ public function releaseAll($lock_id = NULL) {} /** - * Implements Drupal\Core\Lock\LockBackedInterface::getLockId(). + * {@inheritdoc} */ public function getLockId() { if (!isset($this->lockId)) { diff --git a/core/lib/Drupal/Core/Logger/RfcLoggerTrait.php b/core/lib/Drupal/Core/Logger/RfcLoggerTrait.php index 67b114db776e8cb11905ee3fb8854f9cd39268c7..2b78258279f78d1da0e4dea5928b5c9aac63722d 100644 --- a/core/lib/Drupal/Core/Logger/RfcLoggerTrait.php +++ b/core/lib/Drupal/Core/Logger/RfcLoggerTrait.php @@ -20,63 +20,63 @@ trait RfcLoggerTrait { /** - * Implements \Psr\Log\LoggerInterface::emergency() + * {@inheritdoc} */ public function emergency($message, array $context = array()) { $this->log(RfcLogLevel::EMERGENCY, $message, $context); } /** - * Implements \Psr\Log\LoggerInterface::alert() + * {@inheritdoc} */ public function alert($message, array $context = array()) { $this->log(RfcLogLevel::ALERT, $message, $context); } /** - * Implements \Psr\Log\LoggerInterface::critical() + * {@inheritdoc} */ public function critical($message, array $context = array()) { $this->log(RfcLogLevel::CRITICAL, $message, $context); } /** - * Implements \Psr\Log\LoggerInterface::error() + * {@inheritdoc} */ public function error($message, array $context = array()) { $this->log(RfcLogLevel::ERROR, $message, $context); } /** - * Implements \Psr\Log\LoggerInterface::warning() + * {@inheritdoc} */ public function warning($message, array $context = array()) { $this->log(RfcLogLevel::WARNING, $message, $context); } /** - * Implements \Psr\Log\LoggerInterface::notice() + * {@inheritdoc} */ public function notice($message, array $context = array()) { $this->log(RfcLogLevel::NOTICE, $message, $context); } /** - * Implements \Psr\Log\LoggerInterface::info() + * {@inheritdoc} */ public function info($message, array $context = array()) { $this->log(RfcLogLevel::INFO, $message, $context); } /** - * Implements \Psr\Log\LoggerInterface::debug() + * {@inheritdoc} */ public function debug($message, array $context = array()) { $this->log(RfcLogLevel::DEBUG, $message, $context); } /** - * Implements \Psr\Log\LoggerInterface::log() + * {@inheritdoc} */ abstract public function log($level, $message, array $context = array()); diff --git a/core/lib/Drupal/Core/Path/AliasManager.php b/core/lib/Drupal/Core/Path/AliasManager.php index c201e0b1b5d9253234e11d615740120b99e21894..364fe67aa9288101162a471e8fd7e4915cce7c25 100644 --- a/core/lib/Drupal/Core/Path/AliasManager.php +++ b/core/lib/Drupal/Core/Path/AliasManager.php @@ -254,7 +254,7 @@ public function getAliasByPath($path, $langcode = NULL) { } /** - * Implements \Drupal\Core\Path\AliasManagerInterface::cacheClear(). + * {@inheritdoc} */ public function cacheClear($source = NULL) { if ($source) { diff --git a/core/lib/Drupal/Core/PathProcessor/PathProcessorAlias.php b/core/lib/Drupal/Core/PathProcessor/PathProcessorAlias.php index d7bd41615f18e089a2e9e530a80167ca3bb9d536..497e58928be3c6b5c8a4fdab6e6735a884114848 100644 --- a/core/lib/Drupal/Core/PathProcessor/PathProcessorAlias.php +++ b/core/lib/Drupal/Core/PathProcessor/PathProcessorAlias.php @@ -34,7 +34,7 @@ public function __construct(AliasManagerInterface $alias_manager) { } /** - * Implements Drupal\Core\PathProcessor\InboundPathProcessorInterface::processInbound(). + * {@inheritdoc} */ public function processInbound($path, Request $request) { $path = $this->aliasManager->getPathByAlias($path); @@ -42,7 +42,7 @@ public function processInbound($path, Request $request) { } /** - * Implements Drupal\Core\PathProcessor\OutboundPathProcessorInterface::processOutbound(). + * {@inheritdoc} */ public function processOutbound($path, &$options = array(), Request $request = NULL, BubbleableMetadata $bubbleable_metadata = NULL) { if (empty($options['alias'])) { diff --git a/core/lib/Drupal/Core/PathProcessor/PathProcessorDecode.php b/core/lib/Drupal/Core/PathProcessor/PathProcessorDecode.php index b7c99ef3d6caeff5fe6100de58353bd2e8d3015f..3558843de4b88ceda3c8a822b8fda6d0728dfb1b 100644 --- a/core/lib/Drupal/Core/PathProcessor/PathProcessorDecode.php +++ b/core/lib/Drupal/Core/PathProcessor/PathProcessorDecode.php @@ -25,7 +25,7 @@ class PathProcessorDecode implements InboundPathProcessorInterface { /** - * Implements Drupal\Core\PathProcessor\InboundPathProcessorInterface::processInbound(). + * {@inheritdoc} */ public function processInbound($path, Request $request) { return urldecode($path); diff --git a/core/lib/Drupal/Core/PathProcessor/PathProcessorFront.php b/core/lib/Drupal/Core/PathProcessor/PathProcessorFront.php index 161661ba29b7a1211ebdfa5b451695c307dbd488..ec3f866f743a1805189cad88ae32983be95a8016 100644 --- a/core/lib/Drupal/Core/PathProcessor/PathProcessorFront.php +++ b/core/lib/Drupal/Core/PathProcessor/PathProcessorFront.php @@ -36,7 +36,7 @@ public function __construct(ConfigFactoryInterface $config) { } /** - * Implements Drupal\Core\PathProcessor\InboundPathProcessorInterface::processInbound(). + * {@inheritdoc} */ public function processInbound($path, Request $request) { if ($path === '/') { @@ -46,7 +46,7 @@ public function processInbound($path, Request $request) { } /** - * Implements Drupal\Core\PathProcessor\OutboundPathProcessorInterface::processOutbound(). + * {@inheritdoc} */ public function processOutbound($path, &$options = array(), Request $request = NULL, BubbleableMetadata $bubbleable_metadata = NULL) { // The special path '' links to the default front page. diff --git a/core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php b/core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php index bd623273b06a1d15d03a5b76554d20abf1bd9ace..f65caae66a306c73de5bbf80424c8805450d7cc7 100644 --- a/core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php +++ b/core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php @@ -67,7 +67,7 @@ public function addInbound(InboundPathProcessorInterface $processor, $priority = } /** - * Implements Drupal\Core\PathProcessor\InboundPathProcessorInterface::processInbound(). + * {@inheritdoc} */ public function processInbound($path, Request $request) { $processors = $this->getInbound(); @@ -106,7 +106,7 @@ public function addOutbound(OutboundPathProcessorInterface $processor, $priority } /** - * Implements Drupal\Core\PathProcessor\OutboundPathProcessorInterface::processOutbound(). + * {@inheritdoc} */ public function processOutbound($path, &$options = array(), Request $request = NULL, BubbleableMetadata $bubbleable_metadata = NULL) { $processors = $this->getOutbound(); diff --git a/core/lib/Drupal/Core/Plugin/CategorizingPluginManagerTrait.php b/core/lib/Drupal/Core/Plugin/CategorizingPluginManagerTrait.php index b3cc23ba6d6484d5c08f626510016dc3cc451f9d..514c3bf4f98317396c49dfccbbfb87853553d27c 100644 --- a/core/lib/Drupal/Core/Plugin/CategorizingPluginManagerTrait.php +++ b/core/lib/Drupal/Core/Plugin/CategorizingPluginManagerTrait.php @@ -76,7 +76,7 @@ public function getModuleHandler() { } /** - * Implements \Drupal\Component\Plugin\CategorizingPluginManagerInterface::getCategories(). + * {@inheritdoc} */ public function getCategories() { /** @var \Drupal\Core\Plugin\CategorizingPluginManagerTrait|\Drupal\Component\Plugin\PluginManagerInterface $this */ @@ -89,7 +89,7 @@ public function getCategories() { } /** - * Implements \Drupal\Component\Plugin\CategorizingPluginManagerInterface::getSortedDefinitions(). + * {@inheritdoc} */ public function getSortedDefinitions(array $definitions = NULL, $label_key = 'label') { // Sort the plugins first by category, then by label. @@ -105,7 +105,7 @@ public function getSortedDefinitions(array $definitions = NULL, $label_key = 'la } /** - * Implements \Drupal\Component\Plugin\CategorizingPluginManagerInterface::getGroupedDefinitions(). + * {@inheritdoc} */ public function getGroupedDefinitions(array $definitions = NULL, $label_key = 'label') { /** @var \Drupal\Core\Plugin\CategorizingPluginManagerTrait|\Drupal\Component\Plugin\PluginManagerInterface $this */ diff --git a/core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php b/core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php index 4bab897184df5b431b1d1989f27e16ea011c4128..f321cb3a34b51a343a48b8be8a1db52a7480e8e5 100644 --- a/core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php +++ b/core/lib/Drupal/Core/Plugin/Discovery/HookDiscovery.php @@ -47,7 +47,7 @@ function __construct(ModuleHandlerInterface $module_handler, $hook) { } /** - * Implements Drupal\Component\Plugin\Discovery\DiscoveryInterface::getDefinitions(). + * {@inheritdoc} */ public function getDefinitions() { $definitions = array(); diff --git a/core/lib/Drupal/Core/Plugin/Discovery/InfoHookDecorator.php b/core/lib/Drupal/Core/Plugin/Discovery/InfoHookDecorator.php index fb6c95b5a1073cf981df57193fb676c14870274f..81328d5435def2992123d943cb5b1697211c9f89 100644 --- a/core/lib/Drupal/Core/Plugin/Discovery/InfoHookDecorator.php +++ b/core/lib/Drupal/Core/Plugin/Discovery/InfoHookDecorator.php @@ -45,7 +45,7 @@ public function __construct(DiscoveryInterface $decorated, $hook) { } /** - * Implements Drupal\Component\Plugin\Discovery\DiscoveryInterface::getDefinitions(). + * {@inheritdoc} */ public function getDefinitions() { $definitions = $this->decorated->getDefinitions(); diff --git a/core/lib/Drupal/Core/Routing/NullGenerator.php b/core/lib/Drupal/Core/Routing/NullGenerator.php index 29957f8b712f8e98a3a5c8cf1b0e90193ed196a8..6f1099d69a7f80a1f67d3e9bf691e0b71d847d97 100644 --- a/core/lib/Drupal/Core/Routing/NullGenerator.php +++ b/core/lib/Drupal/Core/Routing/NullGenerator.php @@ -62,19 +62,19 @@ protected function getInternalPathFromRoute($name, Route $route, $parameters = a } /** - * Overrides Drupal\Core\Routing\UrlGenerator::setContext(); + * {@inheritdoc} */ public function setContext(SymfonyRequestContext $context) { } /** - * Implements Symfony\Component\Routing\RequestContextAwareInterface::getContext(); + * {@inheritdoc} */ public function getContext() { } /** - * Overrides Drupal\Core\Routing\UrlGenerator::processPath(). + * {@inheritdoc} */ protected function processPath($path, &$options = array(), BubbleableMetadata $bubbleable_metadata = NULL) { return $path; diff --git a/core/lib/Drupal/Core/StreamWrapper/LocalStream.php b/core/lib/Drupal/Core/StreamWrapper/LocalStream.php index 021c541bb22f507f68e3782c36ebdefe0a7b3a97..82f4427ae4d13fff5e33f9118313d795c5e0f4c7 100644 --- a/core/lib/Drupal/Core/StreamWrapper/LocalStream.php +++ b/core/lib/Drupal/Core/StreamWrapper/LocalStream.php @@ -60,14 +60,14 @@ public static function getType() { abstract function getDirectoryPath(); /** - * Implements Drupal\Core\StreamWrapper\StreamWrapperInterface::setUri(). + * {@inheritdoc} */ function setUri($uri) { $this->uri = $uri; } /** - * Implements Drupal\Core\StreamWrapper\StreamWrapperInterface::getUri(). + * {@inheritdoc} */ function getUri() { return $this->uri; @@ -101,7 +101,7 @@ protected function getTarget($uri = NULL) { } /** - * Implements Drupal\Core\StreamWrapper\StreamWrapperInterface::realpath(). + * {@inheritdoc} */ function realpath() { return $this->getLocalPath(); diff --git a/core/lib/Drupal/Core/StreamWrapper/ReadOnlyStream.php b/core/lib/Drupal/Core/StreamWrapper/ReadOnlyStream.php index 67e64306682f6987d753959a0915c63a252f2d0f..a7201d289de70ac587fa4f1665a83d5d177fc32e 100644 --- a/core/lib/Drupal/Core/StreamWrapper/ReadOnlyStream.php +++ b/core/lib/Drupal/Core/StreamWrapper/ReadOnlyStream.php @@ -42,14 +42,14 @@ abstract class ReadOnlyStream implements StreamWrapperInterface { protected $uri; /** - * Implements Drupal\Core\StreamWrapper\StreamWrapperInterface::setUri(). + * {@inheritdoc} */ function setUri($uri) { $this->uri = $uri; } /** - * Implements Drupal\Core\StreamWrapper\StreamWrapperInterface::getUri(). + * {@inheritdoc} */ function getUri() { return $this->uri; diff --git a/core/lib/Drupal/Core/StreamWrapper/TemporaryStream.php b/core/lib/Drupal/Core/StreamWrapper/TemporaryStream.php index e01086791df2a030d934cecb490e02994c61b7a5..1aaac3c7c6e61b75d5eb1377fe2d27841d8ad209 100644 --- a/core/lib/Drupal/Core/StreamWrapper/TemporaryStream.php +++ b/core/lib/Drupal/Core/StreamWrapper/TemporaryStream.php @@ -39,14 +39,14 @@ public function getDescription() { } /** - * Implements Drupal\Core\StreamWrapper\LocalStream::getDirectoryPath() + * {@inheritdoc} */ public function getDirectoryPath() { return file_directory_temp(); } /** - * Implements Drupal\Core\StreamWrapper\StreamWrapperInterface::getExternalUrl(). + * {@inheritdoc} */ public function getExternalUrl() { $path = str_replace('\\', '/', $this->getTarget()); diff --git a/core/lib/Drupal/Core/Template/Attribute.php b/core/lib/Drupal/Core/Template/Attribute.php index 611c13391e6289aaf4b3e1d34da5d5e262f3f5cb..26a1793cd53d6267402bf25e95ceb851d9466cce 100644 --- a/core/lib/Drupal/Core/Template/Attribute.php +++ b/core/lib/Drupal/Core/Template/Attribute.php @@ -90,7 +90,7 @@ public function __construct($attributes = array()) { } /** - * Implements ArrayAccess::offsetGet(). + * {@inheritdoc} */ public function offsetGet($name) { if (isset($this->storage[$name])) { @@ -99,7 +99,7 @@ public function offsetGet($name) { } /** - * Implements ArrayAccess::offsetSet(). + * {@inheritdoc} */ public function offsetSet($name, $value) { $this->storage[$name] = $this->createAttributeValue($name, $value); @@ -151,14 +151,14 @@ protected function createAttributeValue($name, $value) { } /** - * Implements ArrayAccess::offsetUnset(). + * {@inheritdoc} */ public function offsetUnset($name) { unset($this->storage[$name]); } /** - * Implements ArrayAccess::offsetExists(). + * {@inheritdoc} */ public function offsetExists($name) { return isset($this->storage[$name]); @@ -324,7 +324,7 @@ public function __clone() { } /** - * Implements IteratorAggregate::getIterator(). + * {@inheritdoc} */ public function getIterator() { return new \ArrayIterator($this->storage); diff --git a/core/lib/Drupal/Core/Template/AttributeArray.php b/core/lib/Drupal/Core/Template/AttributeArray.php index 96aae69bd5e7fdafa153df24b930a1148b2a89ae..7efb0b09221959e85b7c9883776f48ee3ed3a688 100644 --- a/core/lib/Drupal/Core/Template/AttributeArray.php +++ b/core/lib/Drupal/Core/Template/AttributeArray.php @@ -38,14 +38,14 @@ class AttributeArray extends AttributeValueBase implements \ArrayAccess, \Iterat const RENDER_EMPTY_ATTRIBUTE = FALSE; /** - * Implements ArrayAccess::offsetGet(). + * {@inheritdoc} */ public function offsetGet($offset) { return $this->value[$offset]; } /** - * Implements ArrayAccess::offsetSet(). + * {@inheritdoc} */ public function offsetSet($offset, $value) { if (isset($offset)) { @@ -57,14 +57,14 @@ public function offsetSet($offset, $value) { } /** - * Implements ArrayAccess::offsetUnset(). + * {@inheritdoc} */ public function offsetUnset($offset) { unset($this->value[$offset]); } /** - * Implements ArrayAccess::offsetExists(). + * {@inheritdoc} */ public function offsetExists($offset) { return isset($this->value[$offset]); @@ -80,7 +80,7 @@ public function __toString() { } /** - * Implements IteratorAggregate::getIterator(). + * {@inheritdoc} */ public function getIterator() { return new \ArrayIterator($this->value); diff --git a/core/lib/Drupal/Core/Template/AttributeBoolean.php b/core/lib/Drupal/Core/Template/AttributeBoolean.php index b06fd6d4621a4d9eb4696ce8fde32a994df86183..9b22a81e9cb849aa2571956ddc9b167a3fda5066 100644 --- a/core/lib/Drupal/Core/Template/AttributeBoolean.php +++ b/core/lib/Drupal/Core/Template/AttributeBoolean.php @@ -32,7 +32,7 @@ class AttributeBoolean extends AttributeValueBase { /** - * Overrides AttributeValueBase::render(). + * {@inheritdoc} */ public function render() { return $this->__toString(); diff --git a/core/lib/Drupal/Core/TypedData/Plugin/DataType/BinaryData.php b/core/lib/Drupal/Core/TypedData/Plugin/DataType/BinaryData.php index 7cc76cbefddd928df250e160f640160499cc39c5..e9a3abc8d1c134ef11b86c5a921029e88e909c91 100644 --- a/core/lib/Drupal/Core/TypedData/Plugin/DataType/BinaryData.php +++ b/core/lib/Drupal/Core/TypedData/Plugin/DataType/BinaryData.php @@ -39,7 +39,7 @@ class BinaryData extends PrimitiveBase implements BinaryInterface { public $handle = NULL; /** - * Overrides TypedData::getValue(). + * {@inheritdoc} */ public function getValue() { // If the value has been set by (absolute) stream resource URI, access the @@ -76,7 +76,7 @@ public function setValue($value, $notify = TRUE) { } /** - * Overrides TypedData::getString(). + * {@inheritdoc} */ public function getString() { // Return the file content. diff --git a/core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php b/core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php index 577bfb4c0c0f76f1f0ff97a4390788a944cae0e2..9114527baa5f5cf32d61ece6b3d73fde9362bc09 100644 --- a/core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php +++ b/core/lib/Drupal/Core/TypedData/Plugin/DataType/ItemList.php @@ -38,7 +38,7 @@ class ItemList extends TypedData implements \IteratorAggregate, ListInterface { protected $list = array(); /** - * Overrides \Drupal\Core\TypedData\TypedData::getValue(). + * {@inheritdoc} */ public function getValue() { $values = array(); @@ -84,7 +84,7 @@ public function setValue($values, $notify = TRUE) { } /** - * Overrides \Drupal\Core\TypedData\TypedData::getString(). + * {@inheritdoc} */ public function getString() { $strings = array(); @@ -172,7 +172,7 @@ public function first() { } /** - * Implements \ArrayAccess::offsetExists(). + * {@inheritdoc} */ public function offsetExists($offset) { // We do not want to throw exceptions here, so we do not use get(). @@ -180,7 +180,7 @@ public function offsetExists($offset) { } /** - * Implements \ArrayAccess::offsetUnset(). + * {@inheritdoc} */ public function offsetUnset($offset) { $this->removeItem($offset); @@ -226,28 +226,28 @@ protected function createItem($offset = 0, $value = NULL) { } /** - * Implements \Drupal\Core\TypedData\ListInterface::getItemDefinition(). + * {@inheritdoc} */ public function getItemDefinition() { return $this->definition->getItemDefinition(); } /** - * Implements \IteratorAggregate::getIterator(). + * {@inheritdoc} */ public function getIterator() { return new \ArrayIterator($this->list); } /** - * Implements \Countable::count(). + * {@inheritdoc} */ public function count() { return count($this->list); } /** - * Implements \Drupal\Core\TypedData\ListInterface::isEmpty(). + * {@inheritdoc} */ public function isEmpty() { foreach ($this->list as $item) { @@ -287,7 +287,7 @@ public function filter($callback) { } /** - * Implements \Drupal\Core\TypedData\ListInterface::onChange(). + * {@inheritdoc} */ public function onChange($delta) { // Notify the parent of changes. diff --git a/core/lib/Drupal/Core/TypedData/Plugin/DataType/Language.php b/core/lib/Drupal/Core/TypedData/Plugin/DataType/Language.php index 273d264c87d5b5205152ea79d77a7192d79b1fb4..e350e2806311a9ffdf31ca05930fd5d451c54037 100644 --- a/core/lib/Drupal/Core/TypedData/Plugin/DataType/Language.php +++ b/core/lib/Drupal/Core/TypedData/Plugin/DataType/Language.php @@ -73,7 +73,7 @@ public function setValue($value, $notify = TRUE) { } /** - * Overrides TypedData::getString(). + * {@inheritdoc} */ public function getString() { $language = $this->getValue(); diff --git a/core/lib/Drupal/Core/TypedData/Plugin/DataType/Map.php b/core/lib/Drupal/Core/TypedData/Plugin/DataType/Map.php index 4ab0aba8d887bbd99fe1cf6fdd083e6fe9858718..e6d8993311c51c911bb98cfce331329244ec3bd2 100644 --- a/core/lib/Drupal/Core/TypedData/Plugin/DataType/Map.php +++ b/core/lib/Drupal/Core/TypedData/Plugin/DataType/Map.php @@ -97,7 +97,7 @@ public function setValue($values, $notify = TRUE) { } /** - * Overrides \Drupal\Core\TypedData\TypedData::getString(). + * {@inheritdoc} */ public function getString() { $strings = array(); @@ -109,7 +109,7 @@ public function getString() { } /** - * Implements \Drupal\Core\TypedData\ComplexDataInterface::get(). + * {@inheritdoc} */ public function get($property_name) { if (!isset($this->properties[$property_name])) { @@ -156,7 +156,7 @@ protected function writePropertyValue($property_name, $value) { } /** - * Implements \Drupal\Core\TypedData\ComplexDataInterface::getProperties(). + * {@inheritdoc} */ public function getProperties($include_computed = FALSE) { $properties = array(); @@ -180,14 +180,14 @@ public function toArray() { } /** - * Implements \IteratorAggregate::getIterator(). + * {@inheritdoc} */ public function getIterator() { return new \ArrayIterator($this->getProperties()); } /** - * Implements \Drupal\Core\TypedData\ComplexDataInterface::isEmpty(). + * {@inheritdoc} */ public function isEmpty() { foreach ($this->properties as $property) { diff --git a/core/lib/Drupal/Core/Updater/Module.php b/core/lib/Drupal/Core/Updater/Module.php index 00d51e3b1c211eadb11ed9511d166a7c4a10b96d..a7a18634b7c1b46b973bb80c7a323d42f3b9270b 100644 --- a/core/lib/Drupal/Core/Updater/Module.php +++ b/core/lib/Drupal/Core/Updater/Module.php @@ -49,7 +49,7 @@ public static function getRootDirectoryRelativePath() { } /** - * Implements Drupal\Core\Updater\UpdaterInterface::isInstalled(). + * {@inheritdoc} */ public function isInstalled() { // Check if the module exists in the file system, regardless of whether it @@ -59,7 +59,7 @@ public function isInstalled() { } /** - * Implements Drupal\Core\Updater\UpdaterInterface::canUpdateDirectory(). + * {@inheritdoc} */ public static function canUpdateDirectory($directory) { $info = static::getExtensionInfo($directory); @@ -106,7 +106,7 @@ public function getSchemaUpdates() { } /** - * Overrides Drupal\Core\Updater\Updater::postInstallTasks(). + * {@inheritdoc} */ public function postInstallTasks() { // Since this is being called outsite of the primary front controller, @@ -137,7 +137,7 @@ public function postInstallTasks() { } /** - * Overrides Drupal\Core\Updater\Updater::postUpdateTasks(). + * {@inheritdoc} */ public function postUpdateTasks() { // We don't want to check for DB updates here, we do that once for all diff --git a/core/lib/Drupal/Core/Updater/Theme.php b/core/lib/Drupal/Core/Updater/Theme.php index bcf88c6cf7861d29b3e04d4dda2f46dd3bfb45e7..b050bdaf067da4a33b5463a5d54ab5314f710d92 100644 --- a/core/lib/Drupal/Core/Updater/Theme.php +++ b/core/lib/Drupal/Core/Updater/Theme.php @@ -49,7 +49,7 @@ public static function getRootDirectoryRelativePath() { } /** - * Implements Drupal\Core\Updater\UpdaterInterface::isInstalled(). + * {@inheritdoc} */ public function isInstalled() { // Check if the theme exists in the file system, regardless of whether it @@ -59,7 +59,7 @@ public function isInstalled() { } /** - * Implements Drupal\Core\Updater\UpdaterInterface::canUpdateDirectory(). + * {@inheritdoc} */ static function canUpdateDirectory($directory) { $info = static::getExtensionInfo($directory); @@ -80,7 +80,7 @@ public static function canUpdate($project_name) { } /** - * Overrides Drupal\Core\Updater\Updater::postInstall(). + * {@inheritdoc} */ public function postInstall() { // Update the theme info. @@ -89,7 +89,7 @@ public function postInstall() { } /** - * Overrides Drupal\Core\Updater\Updater::postInstallTasks(). + * {@inheritdoc} */ public function postInstallTasks() { // Since this is being called outsite of the primary front controller, diff --git a/core/lib/Drupal/Core/Validation/DrupalTranslator.php b/core/lib/Drupal/Core/Validation/DrupalTranslator.php index da9c11a9e4ba30db846ac8146df7ebc58f91a410..d235eb3d201007f00f5b6b25a040e3b5e6d0842f 100644 --- a/core/lib/Drupal/Core/Validation/DrupalTranslator.php +++ b/core/lib/Drupal/Core/Validation/DrupalTranslator.php @@ -25,7 +25,7 @@ class DrupalTranslator implements TranslatorInterface { protected $locale; /** - * Implements \Symfony\Component\Translation\TranslatorInterface::trans(). + * {@inheritdoc} */ public function trans($id, array $parameters = array(), $domain = NULL, $locale = NULL) { // If a TranslatableMarkup object is passed in as $id, return it since the @@ -34,7 +34,7 @@ public function trans($id, array $parameters = array(), $domain = NULL, $locale } /** - * Implements \Symfony\Component\Translation\TranslatorInterface::transChoice(). + * {@inheritdoc} */ public function transChoice($id, $number, array $parameters = array(), $domain = NULL, $locale = NULL) { // Violation messages can separated singular and plural versions by "|". @@ -58,14 +58,14 @@ public function transChoice($id, $number, array $parameters = array(), $domain = } /** - * Implements \Symfony\Component\Translation\TranslatorInterface::setLocale(). + * {@inheritdoc} */ public function setLocale($locale) { $this->locale = $locale; } /** - * Implements \Symfony\Component\Translation\TranslatorInterface::getLocale(). + * {@inheritdoc} */ public function getLocale() { return $this->locale ? $this->locale : \Drupal::languageManager()->getCurrentLanguage()->getId(); diff --git a/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/LengthConstraint.php b/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/LengthConstraint.php index 308afd18d7ba9a01c17161e09e5fb683e7256b07..f25ca3d848e9c3576821f7e8194d9bea14a82d29 100644 --- a/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/LengthConstraint.php +++ b/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/LengthConstraint.php @@ -29,7 +29,7 @@ class LengthConstraint extends Length { public $exactMessage = 'This value should have exactly %limit character.|This value should have exactly %limit characters.'; /** - * Overrides Range::validatedBy(). + * {@inheritdoc} */ public function validatedBy() { return '\Symfony\Component\Validator\Constraints\LengthValidator'; diff --git a/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidator.php b/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidator.php index 503825f88109d64603c94e41a7cf712220fa1077..7ee4fdb74cd5c1bbd541b28a735275ee518e394c 100644 --- a/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidator.php +++ b/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidator.php @@ -28,7 +28,7 @@ class PrimitiveTypeConstraintValidator extends ConstraintValidator { use TypedDataAwareValidatorTrait; /** - * Implements \Symfony\Component\Validator\ConstraintValidatorInterface::validate(). + * {@inheritdoc} */ public function validate($value, Constraint $constraint) { diff --git a/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/RangeConstraint.php b/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/RangeConstraint.php index 298f59c396379ea27d2d9f3ddd4cf834a58d5235..d6c3611034d0ff91bc8d10c24619b92d7075a39d 100644 --- a/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/RangeConstraint.php +++ b/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/RangeConstraint.php @@ -28,7 +28,7 @@ class RangeConstraint extends Range { public $maxMessage = 'This value should be %limit or less.'; /** - * Overrides Range::validatedBy(). + * {@inheritdoc} */ public function validatedBy() { return '\Symfony\Component\Validator\Constraints\RangeValidator'; diff --git a/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/RegexConstraint.php b/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/RegexConstraint.php index 7d476eb5b3458d7a9951289a0f235fd7a120cf8e..c7a16e18f3ef8a6892599cba25b01df64fa559f6 100644 --- a/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/RegexConstraint.php +++ b/core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/RegexConstraint.php @@ -24,7 +24,7 @@ class RegexConstraint extends Regex { public $message = 'This value is not valid.'; /** - * Overrides Range::validatedBy(). + * {@inheritdoc} */ public function validatedBy() { return '\Symfony\Component\Validator\Constraints\RegexValidator'; diff --git a/core/modules/aggregator/src/Entity/Feed.php b/core/modules/aggregator/src/Entity/Feed.php index f478d1cc3d902768dd80c6ed20756021aa1edfe2..7054c79d6c27aac86431c995e73da234b1daf2e6 100644 --- a/core/modules/aggregator/src/Entity/Feed.php +++ b/core/modules/aggregator/src/Entity/Feed.php @@ -53,7 +53,7 @@ class Feed extends ContentEntityBase implements FeedInterface { /** - * Implements Drupal\Core\Entity\EntityInterface::label(). + * {@inheritdoc} */ public function label() { return $this->get('title')->value; diff --git a/core/modules/aggregator/src/Entity/Item.php b/core/modules/aggregator/src/Entity/Item.php index 92c3b7963a9cdbe50f98814ce5bd8a8795f4956c..f175d3a9a474469fe8c90f082b192e1348a84a57 100644 --- a/core/modules/aggregator/src/Entity/Item.php +++ b/core/modules/aggregator/src/Entity/Item.php @@ -42,7 +42,7 @@ class Item extends ContentEntityBase implements ItemInterface { /** - * Implements Drupal\Core\Entity\EntityInterface::label(). + * {@inheritdoc} */ public function label() { return $this->get('title')->value; diff --git a/core/modules/aggregator/tests/modules/aggregator_test/src/Plugin/aggregator/fetcher/TestFetcher.php b/core/modules/aggregator/tests/modules/aggregator_test/src/Plugin/aggregator/fetcher/TestFetcher.php index aec4ded0687215d39292c46f53ff62f1cb3a0d3c..324ea1ef03caeb5a2ec5c790e8122698e233c94d 100644 --- a/core/modules/aggregator/tests/modules/aggregator_test/src/Plugin/aggregator/fetcher/TestFetcher.php +++ b/core/modules/aggregator/tests/modules/aggregator_test/src/Plugin/aggregator/fetcher/TestFetcher.php @@ -25,7 +25,7 @@ class TestFetcher extends DefaultFetcher implements FetcherInterface { /** - * Implements \Drupal\aggregator\Plugin\FetcherInterface::fetch(). + * {@inheritdoc} */ public function fetch(FeedInterface $feed) { if ($feed->label() == 'Do not fetch') { diff --git a/core/modules/block_content/src/Tests/BlockContentTranslationUITest.php b/core/modules/block_content/src/Tests/BlockContentTranslationUITest.php index 616c3a2384b47d312191cbcd1191b60197f8a721..dc6a8b55832bfef1db3f28849477f8b72de7a88a 100644 --- a/core/modules/block_content/src/Tests/BlockContentTranslationUITest.php +++ b/core/modules/block_content/src/Tests/BlockContentTranslationUITest.php @@ -44,7 +44,7 @@ class BlockContentTranslationUITest extends ContentTranslationUITestBase { ]; /** - * Overrides \Drupal\simpletest\WebTestBase::setUp(). + * {@inheritdoc} */ protected function setUp() { $this->entityTypeId = 'block_content'; @@ -69,7 +69,7 @@ protected function setupBundle() { } /** - * Overrides \Drupal\content_translation\Tests\ContentTranslationUITestBase::getTranslatorPermission(). + * {@inheritdoc} */ public function getTranslatorPermissions() { return array_merge(parent::getTranslatorPermissions(), array( @@ -106,7 +106,7 @@ protected function createBlockContent($title = FALSE, $bundle = FALSE) { } /** - * Overrides \Drupal\content_translation\Tests\ContentTranslationUITestBase::getNewEntityValues(). + * {@inheritdoc} */ protected function getNewEntityValues($langcode) { return array('info' => Unicode::strtolower($this->randomMachineName())) + parent::getNewEntityValues($langcode); diff --git a/core/modules/ckeditor/src/Plugin/CKEditorPlugin/Internal.php b/core/modules/ckeditor/src/Plugin/CKEditorPlugin/Internal.php index 412af45350bbec0f7ecfcbe91362f906e3669dc2..7638a173ef2455f69aeec67ee37af4ac3dc6bb5c 100644 --- a/core/modules/ckeditor/src/Plugin/CKEditorPlugin/Internal.php +++ b/core/modules/ckeditor/src/Plugin/CKEditorPlugin/Internal.php @@ -75,14 +75,14 @@ public static function create(ContainerInterface $container, array $configuratio } /** - * Implements \Drupal\ckeditor\Plugin\CKEditorPluginInterface::isInternal(). + * {@inheritdoc} */ public function isInternal() { return TRUE; } /** - * Implements \Drupal\ckeditor\Plugin\CKEditorPluginInterface::getFile(). + * {@inheritdoc} */ public function getFile() { // This plugin is already part of Drupal core's CKEditor build. @@ -90,7 +90,7 @@ public function getFile() { } /** - * Implements \Drupal\ckeditor\Plugin\CKEditorPluginInterface::getConfig(). + * {@inheritdoc} */ public function getConfig(Editor $editor) { // Reasonable defaults that provide expected basic behavior. @@ -123,7 +123,7 @@ public function getConfig(Editor $editor) { } /** - * Implements \Drupal\ckeditor\Plugin\CKEditorPluginButtonsInterface::getButtons(). + * {@inheritdoc} */ public function getButtons() { $button = function($name, $direction = 'ltr') { diff --git a/core/modules/ckeditor/src/Plugin/CKEditorPlugin/StylesCombo.php b/core/modules/ckeditor/src/Plugin/CKEditorPlugin/StylesCombo.php index 47b39aaa134f4b9e72f14a6e221eb2043d5df2c0..f61558afdd76fe0afab30ce6873e5890527bbd76 100644 --- a/core/modules/ckeditor/src/Plugin/CKEditorPlugin/StylesCombo.php +++ b/core/modules/ckeditor/src/Plugin/CKEditorPlugin/StylesCombo.php @@ -23,14 +23,14 @@ class StylesCombo extends CKEditorPluginBase implements CKEditorPluginConfigurableInterface { /** - * Implements \Drupal\ckeditor\Plugin\CKEditorPluginInterface::isInternal(). + * {@inheritdoc} */ public function isInternal() { return TRUE; } /** - * Implements \Drupal\ckeditor\Plugin\CKEditorPluginInterface::getFile(). + * {@inheritdoc} */ public function getFile() { // This plugin is already part of Drupal core's CKEditor build. @@ -38,7 +38,7 @@ public function getFile() { } /** - * Implements \Drupal\ckeditor\Plugin\CKEditorPluginInterface::getConfig(). + * {@inheritdoc} */ public function getConfig(Editor $editor) { $config = array(); @@ -52,7 +52,7 @@ public function getConfig(Editor $editor) { } /** - * Implements \Drupal\ckeditor\Plugin\CKEditorPluginButtonsInterface::getButtons(). + * {@inheritdoc} */ public function getButtons() { return array( @@ -70,7 +70,7 @@ public function getButtons() { } /** - * Implements \Drupal\ckeditor\Plugin\CKEditorPluginConfigurableInterface::settingsForm(). + * {@inheritdoc} */ public function settingsForm(array $form, FormStateInterface $form_state, Editor $editor) { // Defaults. diff --git a/core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/Llama.php b/core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/Llama.php index 5c106af4791b84d5d4617ab6976cea7b85839bf8..d55f93a3d802860590c25bafb2c4e118426bb856 100644 --- a/core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/Llama.php +++ b/core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/Llama.php @@ -31,35 +31,35 @@ class Llama extends PluginBase implements CKEditorPluginInterface { /** - * Implements \Drupal\ckeditor\Plugin\CKEditorPluginInterface::getDependencies(). + * {@inheritdoc} */ function getDependencies(Editor $editor) { return array(); } /** - * Implements \Drupal\ckeditor\Plugin\CKEditorPluginInterface::getLibraries(). + * {@inheritdoc} */ function getLibraries(Editor $editor) { return array(); } /** - * Implements \Drupal\ckeditor\Plugin\CKEditorPluginInterface::isInternal(). + * {@inheritdoc} */ function isInternal() { return FALSE; } /** - * Implements \Drupal\ckeditor\Plugin\CKEditorPluginInterface::getFile(). + * {@inheritdoc} */ function getFile() { return drupal_get_path('module', 'ckeditor_test') . '/js/llama.js'; } /** - * Implements \Drupal\ckeditor\Plugin\CKEditorPluginInterface::getConfig(). + * {@inheritdoc} */ public function getConfig(Editor $editor) { return array(); diff --git a/core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaButton.php b/core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaButton.php index 6fa198177487009591a241f5b18c6c031faa49bf..176c807d2b62ca0fa042a4e67913c1ff716bfba3 100644 --- a/core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaButton.php +++ b/core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaButton.php @@ -20,7 +20,7 @@ class LlamaButton extends Llama implements CKEditorPluginButtonsInterface { /** - * Implements \Drupal\ckeditor\Plugin\CKEditorPluginButtonsInterface::getButtons(). + * {@inheritdoc} */ function getButtons() { return array( @@ -31,7 +31,7 @@ function getButtons() { } /** - * Implements \Drupal\ckeditor\Plugin\CKEditorPluginInterface::getFile(). + * {@inheritdoc} */ function getFile() { return drupal_get_path('module', 'ckeditor_test') . '/js/llama_button.js'; diff --git a/core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextual.php b/core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextual.php index 8a52ff49d84fdd1590e8277cdecb5fbeeea638f3..72a356dbcc0c93fc5534846e9266a6e2f124811d 100644 --- a/core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextual.php +++ b/core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextual.php @@ -21,7 +21,7 @@ class LlamaContextual extends Llama implements CKEditorPluginContextualInterface { /** - * Implements \Drupal\ckeditor\Plugin\CKEditorPluginContextualInterface::isEnabled(). + * {@inheritdoc} */ function isEnabled(Editor $editor) { // Automatically enable this plugin if the Underline button is enabled. @@ -37,7 +37,7 @@ function isEnabled(Editor $editor) { } /** - * Implements \Drupal\ckeditor\Plugin\CKEditorPluginInterface::getFile(). + * {@inheritdoc} */ function getFile() { return drupal_get_path('module', 'ckeditor_test') . '/js/llama_contextual.js'; diff --git a/core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextualAndButton.php b/core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextualAndButton.php index 358742bd3917df556255e8daf8386ebe6a91a1fd..b884cbc0bc13987293a085b8973d277e70e7d473 100644 --- a/core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextualAndButton.php +++ b/core/modules/ckeditor/tests/modules/src/Plugin/CKEditorPlugin/LlamaContextualAndButton.php @@ -25,7 +25,7 @@ class LlamaContextualAndButton extends Llama implements CKEditorPluginContextualInterface, CKEditorPluginButtonsInterface, CKEditorPluginConfigurableInterface { /** - * Implements \Drupal\ckeditor\Plugin\CKEditorPluginContextualInterface::isEnabled(). + * {@inheritdoc} */ function isEnabled(Editor $editor) { // Automatically enable this plugin if the Strike button is enabled. @@ -41,7 +41,7 @@ function isEnabled(Editor $editor) { } /** - * Implements \Drupal\ckeditor\Plugin\CKEditorPluginButtonsInterface::getButtons(). + * {@inheritdoc} */ function getButtons() { return array( @@ -52,14 +52,14 @@ function getButtons() { } /** - * Implements \Drupal\ckeditor\Plugin\CKEditorPluginInterface::getFile(). + * {@inheritdoc} */ function getFile() { return drupal_get_path('module', 'ckeditor_test') . '/js/llama_contextual_and_button.js'; } /** - * Implements \Drupal\ckeditor\Plugin\CKEditorPluginConfigurableInterface::settingsForm(). + * {@inheritdoc} */ function settingsForm(array $form, FormStateInterface $form_state, Editor $editor) { // Defaults. diff --git a/core/modules/comment/src/CommentForm.php b/core/modules/comment/src/CommentForm.php index df59363c04fd696f8056c00ea4805fa94c65c69b..51a6cce5b3bfe5858c74aa33588f77efc9a43865 100644 --- a/core/modules/comment/src/CommentForm.php +++ b/core/modules/comment/src/CommentForm.php @@ -66,7 +66,7 @@ public function __construct(EntityManagerInterface $entity_manager, AccountInter } /** - * Overrides Drupal\Core\Entity\EntityForm::form(). + * {@inheritdoc} */ public function form(array $form, FormStateInterface $form_state) { /** @var \Drupal\comment\CommentInterface $comment */ @@ -227,7 +227,7 @@ public function form(array $form, FormStateInterface $form_state) { } /** - * Overrides Drupal\Core\Entity\EntityForm::actions(). + * {@inheritdoc} */ protected function actions(array $form, FormStateInterface $form_state) { $element = parent::actions($form, $form_state); @@ -348,7 +348,7 @@ public function preview(array &$form, FormStateInterface $form_state) { } /** - * Overrides Drupal\Core\Entity\EntityForm::save(). + * {@inheritdoc} */ public function save(array $form, FormStateInterface $form_state) { $comment = $this->entity; diff --git a/core/modules/comment/src/Plugin/views/field/LastTimestamp.php b/core/modules/comment/src/Plugin/views/field/LastTimestamp.php index 1733123f314c9136427ac1887c40d85960610af6..debb69959773b5ad3cc4744ea9d5749f06f3c9c1 100644 --- a/core/modules/comment/src/Plugin/views/field/LastTimestamp.php +++ b/core/modules/comment/src/Plugin/views/field/LastTimestamp.php @@ -22,7 +22,7 @@ class LastTimestamp extends Date { /** - * Overrides Drupal\views\Plugin\views\field\FieldPluginBase::init(). + * {@inheritdoc} */ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) { parent::init($view, $display, $options); diff --git a/core/modules/comment/src/Plugin/views/wizard/Comment.php b/core/modules/comment/src/Plugin/views/wizard/Comment.php index 6f9dd79903ad5f3a074673b090391d6a9bf14d72..49b213d39091178e40a79543c0fab984360a0556 100644 --- a/core/modules/comment/src/Plugin/views/wizard/Comment.php +++ b/core/modules/comment/src/Plugin/views/wizard/Comment.php @@ -53,7 +53,7 @@ class Comment extends WizardPluginBase { ); /** - * Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::rowStyleOptions(). + * {@inheritdoc} */ protected function rowStyleOptions() { $options = array(); @@ -63,7 +63,7 @@ protected function rowStyleOptions() { } /** - * Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::defaultDisplayOptions(). + * {@inheritdoc} */ protected function defaultDisplayOptions() { $display_options = parent::defaultDisplayOptions(); diff --git a/core/modules/comment/src/Tests/CommentTranslationUITest.php b/core/modules/comment/src/Tests/CommentTranslationUITest.php index 26cfa9065006715424494156576f208bfcff0f17..9b27a3e735fbc99a691ecfe29d63116a3e61bb3e 100644 --- a/core/modules/comment/src/Tests/CommentTranslationUITest.php +++ b/core/modules/comment/src/Tests/CommentTranslationUITest.php @@ -63,7 +63,7 @@ protected function setUp() { } /** - * Overrides \Drupal\content_translation\Tests\ContentTranslationUITestBase::setupBundle(). + * {@inheritdoc} */ function setupBundle() { parent::setupBundle(); @@ -80,14 +80,14 @@ function setupBundle() { } /** - * Overrides \Drupal\content_translation\Tests\ContentTranslationUITestBase::getTranslatorPermission(). + * {@inheritdoc} */ protected function getTranslatorPermissions() { return array_merge(parent::getTranslatorPermissions(), array('post comments', 'administer comments', 'access comments')); } /** - * Overrides \Drupal\content_translation\Tests\ContentTranslationUITestBase::createEntity(). + * {@inheritdoc} */ protected function createEntity($values, $langcode, $comment_type = 'comment_article') { if ($comment_type == 'comment_article') { @@ -114,7 +114,7 @@ protected function createEntity($values, $langcode, $comment_type = 'comment_art } /** - * Overrides \Drupal\content_translation\Tests\ContentTranslationUITestBase::getNewEntityValues(). + * {@inheritdoc} */ protected function getNewEntityValues($langcode) { // Comment subject is not translatable hence we use a fixed value. diff --git a/core/modules/config/tests/config_test/src/ConfigTestStorage.php b/core/modules/config/tests/config_test/src/ConfigTestStorage.php index 38f769aa86ff54fe7ac22f3ff83779bdc2c34e66..89b001afc57265a2084a9dccdc0037e478250339 100644 --- a/core/modules/config/tests/config_test/src/ConfigTestStorage.php +++ b/core/modules/config/tests/config_test/src/ConfigTestStorage.php @@ -16,7 +16,7 @@ class ConfigTestStorage extends ConfigEntityStorage { /** - * Overrides \Drupal\Core\Config\Entity\ConfigEntityStorage::importCreate(). + * {@inheritdoc} */ public function importCreate($name, Config $new_config, Config $old_config) { // Set a global value we can check in test code. @@ -26,7 +26,7 @@ public function importCreate($name, Config $new_config, Config $old_config) { } /** - * Overrides \Drupal\Core\Config\Entity\ConfigEntityStorage::importUpdate(). + * {@inheritdoc} */ public function importUpdate($name, Config $new_config, Config $old_config) { // Set a global value we can check in test code. @@ -36,7 +36,7 @@ public function importUpdate($name, Config $new_config, Config $old_config) { } /** - * Overrides \Drupal\Core\Config\Entity\ConfigEntityStorage::importDelete(). + * {@inheritdoc} */ public function importDelete($name, Config $new_config, Config $old_config) { // Set a global value we can check in test code. diff --git a/core/modules/config/tests/config_test/src/Entity/ConfigTest.php b/core/modules/config/tests/config_test/src/Entity/ConfigTest.php index 7d98c9064d9539a8b4cbf8161f1ecd697348ecaf..8ad82628219c7ea56183401a9868b2b731a1d73b 100644 --- a/core/modules/config/tests/config_test/src/Entity/ConfigTest.php +++ b/core/modules/config/tests/config_test/src/Entity/ConfigTest.php @@ -80,7 +80,7 @@ class ConfigTest extends ConfigEntityBase implements ConfigTestInterface { protected $protected_property; /** - * Overrides \Drupal\Core\Config\Entity\ConfigEntityBase::sort(). + * {@inheritdoc} */ public static function sort(ConfigEntityInterface $a, ConfigEntityInterface $b) { \Drupal::state()->set('config_entity_sort', TRUE); diff --git a/core/modules/content_translation/src/Tests/ContentTestTranslationUITest.php b/core/modules/content_translation/src/Tests/ContentTestTranslationUITest.php index 3569a457d3c6f6c89cfdc91b3f07fb52b8cc2d00..149c94d35d6c9982b3d0286d8ac5bf57635712ff 100644 --- a/core/modules/content_translation/src/Tests/ContentTestTranslationUITest.php +++ b/core/modules/content_translation/src/Tests/ContentTestTranslationUITest.php @@ -27,7 +27,7 @@ class ContentTestTranslationUITest extends ContentTranslationUITestBase { public static $modules = array('language', 'content_translation', 'entity_test'); /** - * Overrides \Drupal\simpletest\WebTestBase::setUp(). + * {@inheritdoc} */ protected function setUp() { // Use the entity_test_mul as this has multilingual property support. @@ -36,7 +36,7 @@ protected function setUp() { } /** - * Overrides \Drupal\content_translation\Tests\ContentTranslationUITestBase::getTranslatorPermission(). + * {@inheritdoc} */ protected function getTranslatorPermissions() { return array_merge(parent::getTranslatorPermissions(), array('administer entity_test content', 'view test entity')); diff --git a/core/modules/content_translation/src/Tests/ContentTranslationWorkflowsTest.php b/core/modules/content_translation/src/Tests/ContentTranslationWorkflowsTest.php index b602be0d5e8c0bd2e90a4993cbe2ce7d4e126604..9d8a052e4d23e6bd14142f473424d5b74828a84c 100644 --- a/core/modules/content_translation/src/Tests/ContentTranslationWorkflowsTest.php +++ b/core/modules/content_translation/src/Tests/ContentTranslationWorkflowsTest.php @@ -49,7 +49,7 @@ protected function getTranslatorPermissions() { } /** - * Overrides \Drupal\content_translation\Tests\ContentTranslationTestBase::getEditorPermissions(). + * {@inheritdoc} */ protected function getEditorPermissions() { return array('administer entity_test content'); diff --git a/core/modules/file/src/FileUsage/DatabaseFileUsageBackend.php b/core/modules/file/src/FileUsage/DatabaseFileUsageBackend.php index e00b9f26c291ca5dfa81a6869fc15618c43c8aa9..1440c52027aee91703fe602a5232245127af7c69 100644 --- a/core/modules/file/src/FileUsage/DatabaseFileUsageBackend.php +++ b/core/modules/file/src/FileUsage/DatabaseFileUsageBackend.php @@ -45,7 +45,7 @@ public function __construct(Connection $connection, $table = 'file_usage') { } /** - * Implements Drupal\file\FileUsage\FileUsageInterface::add(). + * {@inheritdoc} */ public function add(FileInterface $file, $module, $type, $id, $count = 1) { $this->connection->merge($this->tableName) @@ -63,7 +63,7 @@ public function add(FileInterface $file, $module, $type, $id, $count = 1) { } /** - * Implements Drupal\file\FileUsage\FileUsageInterface::delete(). + * {@inheritdoc} */ public function delete(FileInterface $file, $module, $type = NULL, $id = NULL, $count = 1) { // Delete rows that have a exact or less value to prevent empty rows. @@ -98,7 +98,7 @@ public function delete(FileInterface $file, $module, $type = NULL, $id = NULL, $ } /** - * Implements Drupal\file\FileUsage\FileUsageInterface::listUsage(). + * {@inheritdoc} */ public function listUsage(FileInterface $file) { $result = $this->connection->select($this->tableName, 'f') diff --git a/core/modules/file/src/FileUsage/FileUsageBase.php b/core/modules/file/src/FileUsage/FileUsageBase.php index 41d49ed69075ae27f4d0075869bfc7d49b1aff57..637e5598ba5ea9831dcffbca32994a46e332e3c2 100644 --- a/core/modules/file/src/FileUsage/FileUsageBase.php +++ b/core/modules/file/src/FileUsage/FileUsageBase.php @@ -15,7 +15,7 @@ abstract class FileUsageBase implements FileUsageInterface { /** - * Implements Drupal\file\FileUsage\FileUsageInterface::add(). + * {@inheritdoc} */ public function add(FileInterface $file, $module, $type, $id, $count = 1) { // Make sure that a used file is permanent. @@ -26,7 +26,7 @@ public function add(FileInterface $file, $module, $type, $id, $count = 1) { } /** - * Implements Drupal\file\FileUsage\FileUsageInterface::delete(). + * {@inheritdoc} */ public function delete(FileInterface $file, $module, $type = NULL, $id = NULL, $count = 1) { // If there are no more remaining usages of this file, mark it as temporary, diff --git a/core/modules/file/src/Plugin/views/wizard/File.php b/core/modules/file/src/Plugin/views/wizard/File.php index 31641d0a85c4b98ed190e5062ab5e515d35b48bb..7f15cd50de30ec95cde964b605031a37e039ed32 100644 --- a/core/modules/file/src/Plugin/views/wizard/File.php +++ b/core/modules/file/src/Plugin/views/wizard/File.php @@ -26,7 +26,7 @@ class File extends WizardPluginBase { protected $createdColumn = 'created'; /** - * Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::defaultDisplayOptions(). + * {@inheritdoc} */ protected function defaultDisplayOptions() { $display_options = parent::defaultDisplayOptions(); diff --git a/core/modules/hal/src/Encoder/JsonEncoder.php b/core/modules/hal/src/Encoder/JsonEncoder.php index a47cac81344c0ff2a9e7f917a274989aba4e9309..746795ce0e3c457f05b94937768a846b9636ed24 100644 --- a/core/modules/hal/src/Encoder/JsonEncoder.php +++ b/core/modules/hal/src/Encoder/JsonEncoder.php @@ -24,14 +24,14 @@ class JsonEncoder extends SymfonyJsonEncoder { protected $format = 'hal_json'; /** - * Overrides \Symfony\Component\Serializer\Encoder\JsonEncoder::supportsEncoding() + * {@inheritdoc} */ public function supportsEncoding($format) { return $format == $this->format; } /** - * Overrides \Symfony\Component\Serializer\Encoder\JsonEncoder::supportsDecoding() + * {@inheritdoc} */ public function supportsDecoding($format) { return $format == $this->format; diff --git a/core/modules/hal/src/Normalizer/ContentEntityNormalizer.php b/core/modules/hal/src/Normalizer/ContentEntityNormalizer.php index a4761b356087ad0fad5f4f49f3e156e5d8d867d9..9c71da40305865f4e6615fbd680d8fbbf33bad8d 100644 --- a/core/modules/hal/src/Normalizer/ContentEntityNormalizer.php +++ b/core/modules/hal/src/Normalizer/ContentEntityNormalizer.php @@ -61,7 +61,7 @@ public function __construct(LinkManagerInterface $link_manager, EntityManagerInt } /** - * Implements \Symfony\Component\Serializer\Normalizer\NormalizerInterface::normalize() + * {@inheritdoc} */ public function normalize($entity, $format = NULL, array $context = array()) { $context += array( diff --git a/core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php b/core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php index 5160b68d012161ea4c4a27ffbd8ffc6282e17c71..7c1943a973c5466af75ee376e34de38fde0a1df5 100644 --- a/core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php +++ b/core/modules/hal/src/Normalizer/EntityReferenceItemNormalizer.php @@ -52,7 +52,7 @@ public function __construct(LinkManagerInterface $link_manager, EntityResolverIn } /** - * Implements \Symfony\Component\Serializer\Normalizer\NormalizerInterface::normalize() + * {@inheritdoc} */ public function normalize($field_item, $format = NULL, array $context = array()) { /** @var $field_item \Drupal\Core\Field\FieldItemInterface */ @@ -97,7 +97,7 @@ public function normalize($field_item, $format = NULL, array $context = array()) } /** - * Overrides \Drupal\hal\Normalizer\FieldItemNormalizer::constructValue(). + * {@inheritdoc} */ protected function constructValue($data, $context) { $field_item = $context['target_instance']; @@ -111,7 +111,7 @@ protected function constructValue($data, $context) { } /** - * Implements \Drupal\serialization\EntityResolver\UuidReferenceInterface::getUuid(). + * {@inheritdoc} */ public function getUuid($data) { if (isset($data['uuid'])) { diff --git a/core/modules/hal/src/Normalizer/FieldItemNormalizer.php b/core/modules/hal/src/Normalizer/FieldItemNormalizer.php index 0f7ef6fc4c8664e8a235b4e88d0d1bf2498bc47a..79c7cca0364c5ee00a2d8b3f7017308b712c6d3f 100644 --- a/core/modules/hal/src/Normalizer/FieldItemNormalizer.php +++ b/core/modules/hal/src/Normalizer/FieldItemNormalizer.php @@ -23,7 +23,7 @@ class FieldItemNormalizer extends NormalizerBase { protected $supportedInterfaceOrClass = 'Drupal\Core\Field\FieldItemInterface'; /** - * Implements \Symfony\Component\Serializer\Normalizer\NormalizerInterface::normalize() + * {@inheritdoc} */ public function normalize($field_item, $format = NULL, array $context = array()) { $values = $field_item->toArray(); @@ -42,7 +42,7 @@ public function normalize($field_item, $format = NULL, array $context = array()) } /** - * Implements \Symfony\Component\Serializer\Normalizer\DenormalizerInterface::denormalize() + * {@inheritdoc} */ public function denormalize($data, $class, $format = NULL, array $context = array()) { if (!isset($context['target_instance'])) { diff --git a/core/modules/hal/src/Normalizer/FieldNormalizer.php b/core/modules/hal/src/Normalizer/FieldNormalizer.php index e93f22631c332b5b4cfbaba960a5ea15a311212a..c47c192db90ebff028db920d9dfa7e497d83d507 100644 --- a/core/modules/hal/src/Normalizer/FieldNormalizer.php +++ b/core/modules/hal/src/Normalizer/FieldNormalizer.php @@ -23,7 +23,7 @@ class FieldNormalizer extends NormalizerBase { protected $supportedInterfaceOrClass = 'Drupal\Core\Field\FieldItemListInterface'; /** - * Implements \Symfony\Component\Serializer\Normalizer\NormalizerInterface::normalize() + * {@inheritdoc} */ public function normalize($field, $format = NULL, array $context = array()) { $normalized_field_items = array(); @@ -58,7 +58,7 @@ public function normalize($field, $format = NULL, array $context = array()) { /** - * Implements \Symfony\Component\Serializer\Normalizer\DenormalizerInterface::denormalize() + * {@inheritdoc} */ public function denormalize($data, $class, $format = NULL, array $context = array()) { if (!isset($context['target_instance'])) { diff --git a/core/modules/hal/src/Normalizer/NormalizerBase.php b/core/modules/hal/src/Normalizer/NormalizerBase.php index e92a1e27ffc7f7510993f8debef77b7e0af04407..73d16fd53f6fb41204eed44eff0e193e718d08af 100644 --- a/core/modules/hal/src/Normalizer/NormalizerBase.php +++ b/core/modules/hal/src/Normalizer/NormalizerBase.php @@ -23,14 +23,14 @@ abstract class NormalizerBase extends SerializationNormalizerBase implements Den protected $formats = array('hal_json'); /** - * Implements \Symfony\Component\Serializer\Normalizer\NormalizerInterface::supportsNormalization(). + * {@inheritdoc} */ public function supportsNormalization($data, $format = NULL) { return in_array($format, $this->formats) && parent::supportsNormalization($data, $format); } /** - * Implements \Symfony\Component\Serializer\Normalizer\DenormalizerInterface::supportsDenormalization() + * {@inheritdoc} */ public function supportsDenormalization($data, $type, $format = NULL) { if (in_array($format, $this->formats) && (class_exists($this->supportedInterfaceOrClass) || interface_exists($this->supportedInterfaceOrClass))) { diff --git a/core/modules/history/src/Plugin/views/field/HistoryUserTimestamp.php b/core/modules/history/src/Plugin/views/field/HistoryUserTimestamp.php index e1d6122a76b4a164c1fe8cb602c9ef03433140fc..500d7802b3501bea8cbd0a4ffc5c6afe463ecbf7 100644 --- a/core/modules/history/src/Plugin/views/field/HistoryUserTimestamp.php +++ b/core/modules/history/src/Plugin/views/field/HistoryUserTimestamp.php @@ -33,7 +33,7 @@ public function usesGroupBy() { } /** - * Overrides \Drupal\node\Plugin\views\field\Node::init(). + * {@inheritdoc} */ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) { parent::init($view, $display, $options); diff --git a/core/modules/image/src/Entity/ImageStyle.php b/core/modules/image/src/Entity/ImageStyle.php index 7d97d59fc4a438c54901eb0b87f971522e716693..f3d020785c99645d348f88fabed269903f5905c6 100644 --- a/core/modules/image/src/Entity/ImageStyle.php +++ b/core/modules/image/src/Entity/ImageStyle.php @@ -94,7 +94,7 @@ class ImageStyle extends ConfigEntityBase implements ImageStyleInterface, Entity protected $effectsCollection; /** - * Overrides Drupal\Core\Entity\Entity::id(). + * {@inheritdoc} */ public function id() { return $this->name; diff --git a/core/modules/language/src/Form/NegotiationUrlForm.php b/core/modules/language/src/Form/NegotiationUrlForm.php index 3cbe9f933d347f3dd146f51ed6979547d8a5764a..f90022fba33b9b845048c1696371fee2216d2f1d 100644 --- a/core/modules/language/src/Form/NegotiationUrlForm.php +++ b/core/modules/language/src/Form/NegotiationUrlForm.php @@ -136,7 +136,7 @@ public function buildForm(array $form, FormStateInterface $form_state) { } /** - * Implements \Drupal\Core\Form\FormInterface::validateForm(). + * {@inheritdoc} */ public function validateForm(array &$form, FormStateInterface $form_state) { $languages = $this->languageManager->getLanguages(); diff --git a/core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationUrl.php b/core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationUrl.php index 2a595ab91445a4d8ae8228866904f9e6853afa30..8e8368e3492b69c1b24212b07267990df17bf638 100644 --- a/core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationUrl.php +++ b/core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationUrl.php @@ -101,7 +101,7 @@ public function getLangcode(Request $request = NULL) { } /** - * Implements Drupal\Core\PathProcessor\InboundPathProcessorInterface::processInbound(). + * {@inheritdoc} */ public function processInbound($path, Request $request) { $config = $this->config->get('language.negotiation')->get('url'); @@ -121,7 +121,7 @@ public function processInbound($path, Request $request) { } /** - * Implements Drupal\Core\PathProcessor\InboundPathProcessorInterface::processOutbound(). + * {@inheritdoc} */ public function processOutbound($path, &$options = array(), Request $request = NULL, BubbleableMetadata $bubbleable_metadata = NULL) { $url_scheme = 'http'; diff --git a/core/modules/language/src/Tests/Views/LanguageTestBase.php b/core/modules/language/src/Tests/Views/LanguageTestBase.php index d52361b678c0722c7e637b89923f09abd1a449f2..822b65151e6752356e741c88bebd1ade8f80a6ee 100644 --- a/core/modules/language/src/Tests/Views/LanguageTestBase.php +++ b/core/modules/language/src/Tests/Views/LanguageTestBase.php @@ -31,7 +31,7 @@ protected function setUp() { } /** - * Overrides \Drupal\views\Tests\ViewTestBase::schemaDefinition(). + * {@inheritdoc} */ protected function schemaDefinition() { $schema = parent::schemaDefinition(); @@ -46,7 +46,7 @@ protected function schemaDefinition() { } /** - * Overrides \Drupal\views\Tests\ViewTestBase::schemaDefinition(). + * {@inheritdoc} */ protected function viewsData() { $data = parent::viewsData(); @@ -68,7 +68,7 @@ protected function viewsData() { } /** - * Overrides \Drupal\views\Tests\ViewTestBase::dataSet(). + * {@inheritdoc} */ protected function dataSet() { $data = parent::dataSet(); diff --git a/core/modules/locale/src/Form/LocaleSettingsForm.php b/core/modules/locale/src/Form/LocaleSettingsForm.php index 0e229c1fa505cbc5e61bd67d77bd6ac5f19910e5..ed1b4883a75152aa4611f14ec3807c895f0a8a01 100644 --- a/core/modules/locale/src/Form/LocaleSettingsForm.php +++ b/core/modules/locale/src/Form/LocaleSettingsForm.php @@ -89,7 +89,7 @@ public function buildForm(array $form, FormStateInterface $form_state) { } /** - * Implements \Drupal\Core\Form\FormInterface::validateForm(). + * {@inheritdoc} */ public function validateForm(array &$form, FormStateInterface $form_state) { parent::validateForm($form, $form_state); diff --git a/core/modules/locale/src/PoDatabaseReader.php b/core/modules/locale/src/PoDatabaseReader.php index 86bf655714623fff3b37981f470c21d24d8a8276..465bbd7ae9987f4fbc0892fd301db1e7f2ec23b9 100644 --- a/core/modules/locale/src/PoDatabaseReader.php +++ b/core/modules/locale/src/PoDatabaseReader.php @@ -54,14 +54,14 @@ public function __construct() { } /** - * Implements Drupal\Component\Gettext\PoMetadataInterface::getLangcode(). + * {@inheritdoc} */ public function getLangcode() { return $this->langcode; } /** - * Implements Drupal\Component\Gettext\PoMetadataInterface::setLangcode(). + * {@inheritdoc} */ public function setLangcode($langcode) { $this->langcode = $langcode; @@ -87,7 +87,7 @@ public function setOptions(array $options) { } /** - * Implements Drupal\Component\Gettext\PoMetadataInterface::getHeader(). + * {@inheritdoc} */ public function getHeader() { return new PoHeader($this->getLangcode()); @@ -162,7 +162,7 @@ private function readString() { } /** - * Implements Drupal\Component\Gettext\PoReaderInterface::readItem(). + * {@inheritdoc} */ public function readItem() { if ($string = $this->readString()) { diff --git a/core/modules/locale/src/PoDatabaseWriter.php b/core/modules/locale/src/PoDatabaseWriter.php index c79944c1af8d07b914207c9db06ab7030a916809..1ee862ab355340a6b1317bc2eb4d2a7cb496a528 100644 --- a/core/modules/locale/src/PoDatabaseWriter.php +++ b/core/modules/locale/src/PoDatabaseWriter.php @@ -68,14 +68,14 @@ public function __construct() { } /** - * Implements Drupal\Component\Gettext\PoMetadataInterface::getLangcode(). + * {@inheritdoc} */ public function getLangcode() { return $this->langcode; } /** - * Implements Drupal\Component\Gettext\PoMetadataInterface::setLangcode(). + * {@inheritdoc} */ public function setLangcode($langcode) { $this->langcode = $langcode; @@ -130,7 +130,7 @@ public function setOptions(array $options) { } /** - * Implements Drupal\Component\Gettext\PoMetadataInterface::getHeader(). + * {@inheritdoc} */ public function getHeader() { return $this->header; @@ -179,7 +179,7 @@ public function setHeader(PoHeader $header) { } /** - * Implements Drupal\Component\Gettext\PoWriterInterface::writeItem(). + * {@inheritdoc} */ public function writeItem(PoItem $item) { if ($item->isPlural()) { @@ -190,7 +190,7 @@ public function writeItem(PoItem $item) { } /** - * Implements Drupal\Component\Gettext\PoWriterInterface::writeItems(). + * {@inheritdoc} */ public function writeItems(PoReaderInterface $reader, $count = -1) { $forever = $count == -1; diff --git a/core/modules/locale/src/SourceString.php b/core/modules/locale/src/SourceString.php index 36d33e0d1fd40ccba64464e3729ac79ed73aa208..48266d21bc666aa2f4ba7ed7c8bea0f87c30b784 100644 --- a/core/modules/locale/src/SourceString.php +++ b/core/modules/locale/src/SourceString.php @@ -18,28 +18,28 @@ */ class SourceString extends StringBase { /** - * Implements Drupal\locale\StringInterface::isSource(). + * {@inheritdoc} */ public function isSource() { return isset($this->source); } /** - * Implements Drupal\locale\StringInterface::isTranslation(). + * {@inheritdoc} */ public function isTranslation() { return FALSE; } /** - * Implements Drupal\locale\LocaleString::getString(). + * {@inheritdoc} */ public function getString() { return isset($this->source) ? $this->source : ''; } /** - * Implements Drupal\locale\LocaleString::setString(). + * {@inheritdoc} */ public function setString($string) { $this->source = $string; @@ -47,7 +47,7 @@ public function setString($string) { } /** - * Implements Drupal\locale\LocaleString::isNew(). + * {@inheritdoc} */ public function isNew() { return empty($this->lid); diff --git a/core/modules/locale/src/StreamWrapper/TranslationsStream.php b/core/modules/locale/src/StreamWrapper/TranslationsStream.php index 7866ad9d722e98e5cdb177bc59a59e24ab4eab50..aa2f985a9fb066109a0ef93651c90f7891e1dacd 100644 --- a/core/modules/locale/src/StreamWrapper/TranslationsStream.php +++ b/core/modules/locale/src/StreamWrapper/TranslationsStream.php @@ -40,7 +40,7 @@ public function getDescription() { } /** - * Implements Drupal\Core\StreamWrapper\LocalStream::getDirectoryPath() + * {@inheritdoc} */ function getDirectoryPath() { return \Drupal::config('locale.settings')->get('translation.path'); diff --git a/core/modules/locale/src/StringBase.php b/core/modules/locale/src/StringBase.php index 8113c1ff0becb89867dcc244c3f57b3ed0d1fcf2..1aa7696492a99c6cd4266da1ad87b5c94ac981bf 100644 --- a/core/modules/locale/src/StringBase.php +++ b/core/modules/locale/src/StringBase.php @@ -67,14 +67,14 @@ public function __construct($values = array()) { } /** - * Implements Drupal\locale\StringInterface::getId(). + * {@inheritdoc} */ public function getId() { return isset($this->lid) ? $this->lid : NULL; } /** - * Implements Drupal\locale\StringInterface::setId(). + * {@inheritdoc} */ public function setId($lid) { $this->lid = $lid; @@ -82,14 +82,14 @@ public function setId($lid) { } /** - * Implements Drupal\locale\StringInterface::getVersion(). + * {@inheritdoc} */ public function getVersion() { return isset($this->version) ? $this->version : NULL; } /** - * Implements Drupal\locale\StringInterface::setVersion(). + * {@inheritdoc} */ public function setVersion($version) { $this->version = $version; @@ -97,14 +97,14 @@ public function setVersion($version) { } /** - * Implements Drupal\locale\StringInterface::getPlurals(). + * {@inheritdoc} */ public function getPlurals() { return explode(LOCALE_PLURAL_DELIMITER, $this->getString()); } /** - * Implements Drupal\locale\StringInterface::setPlurals(). + * {@inheritdoc} */ public function setPlurals($plurals) { $this->setString(implode(LOCALE_PLURAL_DELIMITER, $plurals)); @@ -112,14 +112,14 @@ public function setPlurals($plurals) { } /** - * Implements Drupal\locale\StringInterface::getStorage(). + * {@inheritdoc} */ public function getStorage() { return isset($this->storage) ? $this->storage : NULL; } /** - * Implements Drupal\locale\StringInterface::setStorage(). + * {@inheritdoc} */ public function setStorage($storage) { $this->storage = $storage; @@ -127,7 +127,7 @@ public function setStorage($storage) { } /** - * Implements Drupal\locale\StringInterface::setValues(). + * {@inheritdoc} */ public function setValues(array $values, $override = TRUE) { foreach ($values as $key => $value) { @@ -139,7 +139,7 @@ public function setValues(array $values, $override = TRUE) { } /** - * Implements Drupal\locale\StringInterface::getValues(). + * {@inheritdoc} */ public function getValues(array $fields) { $values = array(); @@ -152,7 +152,7 @@ public function getValues(array $fields) { } /** - * Implements Drupal\locale\StringInterface::getLocation(). + * {@inheritdoc} */ public function getLocations($check_only = FALSE) { if (!isset($this->locations) && !$check_only) { @@ -165,7 +165,7 @@ public function getLocations($check_only = FALSE) { } /** - * Implements Drupal\locale\StringInterface::addLocation(). + * {@inheritdoc} */ public function addLocation($type, $name) { $this->locations[$type][$name] = TRUE; @@ -173,7 +173,7 @@ public function addLocation($type, $name) { } /** - * Implements Drupal\locale\StringInterface::hasLocation(). + * {@inheritdoc} */ public function hasLocation($type, $name) { $locations = $this->getLocations(); @@ -181,7 +181,7 @@ public function hasLocation($type, $name) { } /** - * Implements Drupal\locale\LocaleString::save(). + * {@inheritdoc} */ public function save() { if ($storage = $this->getStorage()) { @@ -194,7 +194,7 @@ public function save() { } /** - * Implements Drupal\locale\LocaleString::delete(). + * {@inheritdoc} */ public function delete() { if (!$this->isNew()) { diff --git a/core/modules/locale/src/TranslationString.php b/core/modules/locale/src/TranslationString.php index 19fe6ca0989124f5559d6d977bc9b910564a0371..eca0652a55fe0a01d58cd63f793be113890ab455 100644 --- a/core/modules/locale/src/TranslationString.php +++ b/core/modules/locale/src/TranslationString.php @@ -45,7 +45,7 @@ class TranslationString extends StringBase { protected $isNew; /** - * Overrides Drupal\locale\StringBase::__construct(). + * {@inheritdoc} */ public function __construct($values = array()) { parent::__construct($values); @@ -72,28 +72,28 @@ public function setCustomized($customized = TRUE) { } /** - * Implements Drupal\locale\StringInterface::isSource(). + * {@inheritdoc} */ public function isSource() { return FALSE; } /** - * Implements Drupal\locale\StringInterface::isTranslation(). + * {@inheritdoc} */ public function isTranslation() { return !empty($this->lid) && !empty($this->language) && isset($this->translation); } /** - * Implements Drupal\locale\StringInterface::getString(). + * {@inheritdoc} */ public function getString() { return isset($this->translation) ? $this->translation : ''; } /** - * Implements Drupal\locale\StringInterface::setString(). + * {@inheritdoc} */ public function setString($string) { $this->translation = $string; @@ -101,14 +101,14 @@ public function setString($string) { } /** - * Implements Drupal\locale\StringInterface::isNew(). + * {@inheritdoc} */ public function isNew() { return $this->isNew; } /** - * Implements Drupal\locale\StringInterface::save(). + * {@inheritdoc} */ public function save() { parent::save(); @@ -117,7 +117,7 @@ public function save() { } /** - * Implements Drupal\locale\StringInterface::delete(). + * {@inheritdoc} */ public function delete() { parent::delete(); diff --git a/core/modules/node/src/Plugin/views/wizard/Node.php b/core/modules/node/src/Plugin/views/wizard/Node.php index 53271b8924512f719e54aa639fe6ba43274847c9..f7a43ecf863dddbed9127d9ddaa72c1a95c0e55b 100644 --- a/core/modules/node/src/Plugin/views/wizard/Node.php +++ b/core/modules/node/src/Plugin/views/wizard/Node.php @@ -59,7 +59,7 @@ public function getAvailableSorts() { } /** - * Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::rowStyleOptions(). + * {@inheritdoc} */ protected function rowStyleOptions() { $options = array(); @@ -72,7 +72,7 @@ protected function rowStyleOptions() { } /** - * Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::defaultDisplayOptions(). + * {@inheritdoc} */ protected function defaultDisplayOptions() { $display_options = parent::defaultDisplayOptions(); @@ -110,7 +110,7 @@ protected function defaultDisplayOptions() { } /** - * Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::defaultDisplayFiltersUser(). + * {@inheritdoc} */ protected function defaultDisplayFiltersUser(array $form, FormStateInterface $form_state) { $filters = parent::defaultDisplayFiltersUser($form, $form_state); diff --git a/core/modules/node/src/Plugin/views/wizard/NodeRevision.php b/core/modules/node/src/Plugin/views/wizard/NodeRevision.php index 502d47f4cdc38766664e2c9ec52ec1e17060bc2c..9dd22ad4ef277710a313f482f5cc904a4cc6253e 100644 --- a/core/modules/node/src/Plugin/views/wizard/NodeRevision.php +++ b/core/modules/node/src/Plugin/views/wizard/NodeRevision.php @@ -56,7 +56,7 @@ protected function rowStyleOptions() { } /** - * Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::defaultDisplayOptions(). + * {@inheritdoc} */ protected function defaultDisplayOptions() { $display_options = parent::defaultDisplayOptions(); diff --git a/core/modules/node/src/Tests/NodeTranslationUITest.php b/core/modules/node/src/Tests/NodeTranslationUITest.php index 490f5b1e92edc6590d1b46b62a1b2a405eff1a4d..452d6cc8b2c0e9f7b0e5f5ced14369d82e2ffd16 100644 --- a/core/modules/node/src/Tests/NodeTranslationUITest.php +++ b/core/modules/node/src/Tests/NodeTranslationUITest.php @@ -108,7 +108,7 @@ function testPublishedStatusNoFields() { } /** - * Overrides \Drupal\content_translation\Tests\ContentTranslationUITestBase::getTranslatorPermission(). + * {@inheritdoc} */ protected function getTranslatorPermissions() { return array_merge(parent::getTranslatorPermissions(), array('administer nodes', "edit any $this->bundle content")); @@ -129,7 +129,7 @@ protected function getAdministratorPermissions() { } /** - * Overrides \Drupal\content_translation\Tests\ContentTranslationUITestBase::getNewEntityValues(). + * {@inheritdoc} */ protected function getNewEntityValues($langcode) { return array('title' => array(array('value' => $this->randomMachineName()))) + parent::getNewEntityValues($langcode); @@ -148,7 +148,7 @@ protected function getFormSubmitAction(EntityInterface $entity, $langcode) { } /** - * Overrides \Drupal\content_translation\Tests\ContentTranslationUITestBase::assertPublishedStatus(). + * {@inheritdoc} */ protected function doTestPublishedStatus() { $entity = entity_load($this->entityTypeId, $this->entityId, TRUE); @@ -179,7 +179,7 @@ protected function doTestPublishedStatus() { } /** - * Overrides \Drupal\content_translation\Tests\ContentTranslationUITestBase::assertAuthoringInfo(). + * {@inheritdoc} */ protected function doTestAuthoringInfo() { $entity = entity_load($this->entityTypeId, $this->entityId, TRUE); diff --git a/core/modules/path/src/Form/DeleteForm.php b/core/modules/path/src/Form/DeleteForm.php index 80251dc38dea2f7ae25c1cb8c3a294396664d5eb..3cd726cca41bc68cb1644b90f3a60a964ead1cfd 100644 --- a/core/modules/path/src/Form/DeleteForm.php +++ b/core/modules/path/src/Form/DeleteForm.php @@ -59,7 +59,7 @@ public function getFormId() { } /** - * Implements \Drupal\Core\Form\ConfirmFormBase::getQuestion(). + * {@inheritdoc} */ public function getQuestion() { return t('Are you sure you want to delete path alias %title?', array('%title' => $this->pathAlias['alias'])); diff --git a/core/modules/rest/src/Access/CSRFAccessCheck.php b/core/modules/rest/src/Access/CSRFAccessCheck.php index f3d07c88fbbdccd920b5c949366bb4846143c3c4..cea16c519b8e532eeea47d221ebed24f03c46327 100644 --- a/core/modules/rest/src/Access/CSRFAccessCheck.php +++ b/core/modules/rest/src/Access/CSRFAccessCheck.php @@ -37,7 +37,7 @@ public function __construct(SessionConfigurationInterface $session_configuration } /** - * Implements AccessCheckInterface::applies(). + * {@inheritdoc} */ public function applies(Route $route) { $requirements = $route->getRequirements(); diff --git a/core/modules/rest/src/LinkManager/LinkManager.php b/core/modules/rest/src/LinkManager/LinkManager.php index 3d70a0528bb6a7a84a33b0a82ccaa95557aaa37e..714e70b59756c8d20a1103f9753c96055a90714e 100644 --- a/core/modules/rest/src/LinkManager/LinkManager.php +++ b/core/modules/rest/src/LinkManager/LinkManager.php @@ -36,28 +36,28 @@ public function __construct(TypeLinkManagerInterface $type_link_manager, Relatio } /** - * Implements \Drupal\rest\LinkManager\TypeLinkManagerInterface::getTypeUri(). + * {@inheritdoc} */ public function getTypeUri($entity_type, $bundle, $context = array()) { return $this->typeLinkManager->getTypeUri($entity_type, $bundle, $context); } /** - * Implements \Drupal\rest\LinkManager\TypeLinkManagerInterface::getTypeInternalIds(). + * {@inheritdoc} */ public function getTypeInternalIds($type_uri, $context = array()) { return $this->typeLinkManager->getTypeInternalIds($type_uri, $context); } /** - * Implements \Drupal\rest\LinkManager\RelationLinkManagerInterface::getRelationUri(). + * {@inheritdoc} */ public function getRelationUri($entity_type, $bundle, $field_name, $context = array()) { return $this->relationLinkManager->getRelationUri($entity_type, $bundle, $field_name, $context); } /** - * Implements \Drupal\rest\LinkManager\RelationLinkManagerInterface::getRelationInternalIds(). + * {@inheritdoc} */ public function getRelationInternalIds($relation_uri) { return $this->relationLinkManager->getRelationInternalIds($relation_uri); diff --git a/core/modules/rest/src/LinkManager/TypeLinkManager.php b/core/modules/rest/src/LinkManager/TypeLinkManager.php index aaa29dd21ed764989df160699f0eef030cce74ad..27fdf3fc5e30847dd8d9a17f440c5c8189dfc2ef 100644 --- a/core/modules/rest/src/LinkManager/TypeLinkManager.php +++ b/core/modules/rest/src/LinkManager/TypeLinkManager.php @@ -70,7 +70,7 @@ public function getTypeUri($entity_type, $bundle, $context = array()) { } /** - * Implements \Drupal\rest\LinkManager\TypeLinkManagerInterface::getTypeInternalIds(). + * {@inheritdoc} */ public function getTypeInternalIds($type_uri, $context = array()) { $types = $this->getTypes($context); diff --git a/core/modules/rest/src/Plugin/Deriver/EntityDeriver.php b/core/modules/rest/src/Plugin/Deriver/EntityDeriver.php index b3d408805783d32e9030875ff3248c97bda31814..8269a438a85fd4ac37befab493914145f9d5233c 100644 --- a/core/modules/rest/src/Plugin/Deriver/EntityDeriver.php +++ b/core/modules/rest/src/Plugin/Deriver/EntityDeriver.php @@ -52,7 +52,7 @@ public static function create(ContainerInterface $container, $base_plugin_id) { } /** - * Implements DerivativeInterface::getDerivativeDefinition(). + * {@inheritdoc} */ public function getDerivativeDefinition($derivative_id, $base_plugin_definition) { if (!isset($this->derivatives)) { @@ -64,7 +64,7 @@ public function getDerivativeDefinition($derivative_id, $base_plugin_definition) } /** - * Implements DerivativeInterface::getDerivativeDefinitions(). + * {@inheritdoc} */ public function getDerivativeDefinitions($base_plugin_definition) { if (!isset($this->derivatives)) { diff --git a/core/modules/rest/src/Plugin/ResourceBase.php b/core/modules/rest/src/Plugin/ResourceBase.php index 5506f0096165c3c050cd164dcb3ed6a1143a52a0..f41335a964abc69eefa3176545f9a5ee406b9358 100644 --- a/core/modules/rest/src/Plugin/ResourceBase.php +++ b/core/modules/rest/src/Plugin/ResourceBase.php @@ -93,7 +93,7 @@ public function permissions() { } /** - * Implements ResourceInterface::routes(). + * {@inheritdoc} */ public function routes() { $collection = new RouteCollection(); @@ -169,7 +169,7 @@ protected function requestMethods() { } /** - * Implements ResourceInterface::availableMethods(). + * {@inheritdoc} */ public function availableMethods() { $methods = $this->requestMethods(); diff --git a/core/modules/rest/src/Plugin/Type/ResourcePluginManager.php b/core/modules/rest/src/Plugin/Type/ResourcePluginManager.php index 90ad18263c05489dde26d3e09339c4ad23bcbbfd..a4171375c77d5cd3a9cecb46fcae195ee9dcfd24 100644 --- a/core/modules/rest/src/Plugin/Type/ResourcePluginManager.php +++ b/core/modules/rest/src/Plugin/Type/ResourcePluginManager.php @@ -40,7 +40,7 @@ public function __construct(\Traversable $namespaces, CacheBackendInterface $cac } /** - * Overrides Drupal\Component\Plugin\PluginManagerBase::getInstance(). + * {@inheritdoc} */ public function getInstance(array $options){ if (isset($options['id'])) { diff --git a/core/modules/rest/src/Plugin/views/display/RestExport.php b/core/modules/rest/src/Plugin/views/display/RestExport.php index 97f67ed32deb65c4e47adc1cef7f36946ec59f89..427becfacf6083ac486d629b176b7953e85d7609 100644 --- a/core/modules/rest/src/Plugin/views/display/RestExport.php +++ b/core/modules/rest/src/Plugin/views/display/RestExport.php @@ -37,27 +37,27 @@ class RestExport extends PathPluginBase implements ResponseDisplayPluginInterface { /** - * Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase::$usesAJAX. + * {@inheritdoc} */ protected $usesAJAX = FALSE; /** - * Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase::$usesPager. + * {@inheritdoc} */ protected $usesPager = FALSE; /** - * Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase::$usesMore. + * {@inheritdoc} */ protected $usesMore = FALSE; /** - * Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase::$usesAreas. + * {@inheritdoc} */ protected $usesAreas = FALSE; /** - * Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase::$usesAreas. + * {@inheritdoc} */ protected $usesOptions = FALSE; diff --git a/core/modules/rest/src/Plugin/views/row/DataEntityRow.php b/core/modules/rest/src/Plugin/views/row/DataEntityRow.php index a8bf139691b5a572b93e7451519183c45826c440..224063ecf56cd3e3c6fe82c07c0e6810df394160 100644 --- a/core/modules/rest/src/Plugin/views/row/DataEntityRow.php +++ b/core/modules/rest/src/Plugin/views/row/DataEntityRow.php @@ -24,12 +24,12 @@ class DataEntityRow extends RowPluginBase { /** - * Overrides \Drupal\views\Plugin\Plugin::$usesOptions. + * {@inheritdoc} */ protected $usesOptions = FALSE; /** - * Overrides \Drupal\views\Plugin\views\row\RowPluginBase::render(). + * {@inheritdoc} */ public function render($row) { return $row->_entity; diff --git a/core/modules/rest/src/Plugin/views/row/DataFieldRow.php b/core/modules/rest/src/Plugin/views/row/DataFieldRow.php index 71502f5399b806309b79e264b79366eee510007a..68ba8974a0b7aa69f75f3af3c20761c0e7747b1d 100644 --- a/core/modules/rest/src/Plugin/views/row/DataFieldRow.php +++ b/core/modules/rest/src/Plugin/views/row/DataFieldRow.php @@ -27,7 +27,7 @@ class DataFieldRow extends RowPluginBase { /** - * Overrides \Drupal\views\Plugin\views\row\RowPluginBase::$usesFields. + * {@inheritdoc} */ protected $usesFields = TRUE; @@ -46,7 +46,7 @@ class DataFieldRow extends RowPluginBase { protected $rawOutputOptions = array(); /** - * Overrides \Drupal\views\Plugin\views\row\RowPluginBase::init(). + * {@inheritdoc} */ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) { parent::init($view, $display, $options); @@ -62,7 +62,7 @@ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$o } /** - * Overrides \Drupal\views\Plugin\views\row\RowPluginBase::buildOptionsForm(). + * {@inheritdoc} */ protected function defineOptions() { $options = parent::defineOptions(); @@ -72,7 +72,7 @@ protected function defineOptions() { } /** - * Overrides \Drupal\views\Plugin\views\row\RowPluginBase::buildOptionsForm(). + * {@inheritdoc} */ public function buildOptionsForm(&$form, FormStateInterface $form_state) { parent::buildOptionsForm($form, $form_state); @@ -118,7 +118,7 @@ public function validateAliasName($element, FormStateInterface $form_state) { } /** - * Overrides \Drupal\views\Plugin\views\row\RowPluginBase::validateOptionsForm(). + * {@inheritdoc} */ public function validateOptionsForm(&$form, FormStateInterface $form_state) { // Collect an array of aliases to validate. @@ -132,7 +132,7 @@ public function validateOptionsForm(&$form, FormStateInterface $form_state) { } /** - * Overrides \Drupal\views\Plugin\views\row\RowPluginBase::render(). + * {@inheritdoc} */ public function render($row) { $output = array(); diff --git a/core/modules/rest/src/Plugin/views/style/Serializer.php b/core/modules/rest/src/Plugin/views/style/Serializer.php index 7b8ded90e9f88ac62d9e5f7c106cf259fa431a36..d9e7274e643867773f9bce8b1872d8f77a248a6a 100644 --- a/core/modules/rest/src/Plugin/views/style/Serializer.php +++ b/core/modules/rest/src/Plugin/views/style/Serializer.php @@ -29,12 +29,12 @@ class Serializer extends StylePluginBase implements CacheableDependencyInterface { /** - * Overrides \Drupal\views\Plugin\views\style\StylePluginBase::$usesRowPlugin. + * {@inheritdoc} */ protected $usesRowPlugin = TRUE; /** - * Overrides Drupal\views\Plugin\views\style\StylePluginBase::$usesFields. + * {@inheritdoc} */ protected $usesGrouping = FALSE; diff --git a/core/modules/search/src/Form/ReindexConfirm.php b/core/modules/search/src/Form/ReindexConfirm.php index cc4194db1cacadbd89fc1765f84f1abd56590fb7..46619188a3472c5bed8b62149c43b6d2a5803ea2 100644 --- a/core/modules/search/src/Form/ReindexConfirm.php +++ b/core/modules/search/src/Form/ReindexConfirm.php @@ -24,28 +24,28 @@ public function getFormId() { } /** - * Implements \Drupal\Core\Form\ConfirmFormBase::getQuestion(). + * {@inheritdoc} */ public function getQuestion() { return $this->t('Are you sure you want to re-index the site?'); } /** - * Overrides \Drupal\Core\Form\ConfirmFormBase::getDescription(). + * {@inheritdoc} */ public function getDescription() { return $this->t("This will re-index content in the search indexes of all active search pages. Searching will continue to work, but new content won't be indexed until all existing content has been re-indexed. This action cannot be undone."); } /** - * Overrides \Drupal\Core\Form\ConfirmFormBase::getConfirmText(). + * {@inheritdoc} */ public function getConfirmText() { return $this->t('Re-index site'); } /** - * Overrides \Drupal\Core\Form\ConfirmFormBase::getCancelText(). + * {@inheritdoc} */ public function getCancelText() { return $this->t('Cancel'); diff --git a/core/modules/serialization/src/Encoder/XmlEncoder.php b/core/modules/serialization/src/Encoder/XmlEncoder.php index a4fa0fff627a5c5106e9d92cfc155e72e81b4b8d..1acba416f6035b8fc94134305284b37ce7db77c6 100644 --- a/core/modules/serialization/src/Encoder/XmlEncoder.php +++ b/core/modules/serialization/src/Encoder/XmlEncoder.php @@ -57,28 +57,28 @@ public function setBaseEncoder($encoder) { } /** - * Implements \Symfony\Component\Serializer\Encoder\EncoderInterface::encode(). + * {@inheritdoc} */ public function encode($data, $format, array $context = array()){ return $this->getBaseEncoder()->encode($data, $format, $context); } /** - * Implements \Symfony\Component\Serializer\Encoder\JsonEncoder::supportsEncoding(). + * {@inheritdoc} */ public function supportsEncoding($format) { return in_array($format, static::$format); } /** - * Implements \Symfony\Component\Serializer\Encoder\EncoderInterface::decode(). + * {@inheritdoc} */ public function decode($data, $format, array $context = array()){ return $this->getBaseEncoder()->decode($data, $format, $context); } /** - * Implements \Symfony\Component\Serializer\Encoder\JsonEncoder::supportsDecoding(). + * {@inheritdoc} */ public function supportsDecoding($format) { return in_array($format, static::$format); diff --git a/core/modules/serialization/src/Normalizer/ComplexDataNormalizer.php b/core/modules/serialization/src/Normalizer/ComplexDataNormalizer.php index 00774133f1910bc2d49f73e65c054ace95575c39..32674257b86e82d44b8de6e7272cc79d90b3292a 100644 --- a/core/modules/serialization/src/Normalizer/ComplexDataNormalizer.php +++ b/core/modules/serialization/src/Normalizer/ComplexDataNormalizer.php @@ -27,7 +27,7 @@ class ComplexDataNormalizer extends NormalizerBase { protected $supportedInterfaceOrClass = 'Drupal\Core\TypedData\ComplexDataInterface'; /** - * Implements \Symfony\Component\Serializer\Normalizer\NormalizerInterface::normalize(). + * {@inheritdoc} */ public function normalize($object, $format = NULL, array $context = array()) { $attributes = array(); diff --git a/core/modules/serialization/src/Normalizer/ListNormalizer.php b/core/modules/serialization/src/Normalizer/ListNormalizer.php index fed97904a9f964df82cf9aba90a54121a9e9d91e..150229e0fdb80e9efb9dafaecd8971ecc0a6d002 100644 --- a/core/modules/serialization/src/Normalizer/ListNormalizer.php +++ b/core/modules/serialization/src/Normalizer/ListNormalizer.php @@ -26,7 +26,7 @@ class ListNormalizer extends NormalizerBase { protected $supportedInterfaceOrClass = 'Drupal\Core\TypedData\ListInterface'; /** - * Implements \Symfony\Component\Serializer\Normalizer\NormalizerInterface::normalize(). + * {@inheritdoc} */ public function normalize($object, $format = NULL, array $context = array()) { $attributes = array(); diff --git a/core/modules/serialization/src/Normalizer/TypedDataNormalizer.php b/core/modules/serialization/src/Normalizer/TypedDataNormalizer.php index ca5524694a037f603e2479d4695da9f77528a953..2ffef441ac2c3af09f4a63f2d01fb1c8ed62ff7b 100644 --- a/core/modules/serialization/src/Normalizer/TypedDataNormalizer.php +++ b/core/modules/serialization/src/Normalizer/TypedDataNormalizer.php @@ -20,7 +20,7 @@ class TypedDataNormalizer extends NormalizerBase { protected $supportedInterfaceOrClass = 'Drupal\Core\TypedData\TypedDataInterface'; /** - * Implements \Symfony\Component\Serializer\Normalizer\NormalizerInterface::normalize(). + * {@inheritdoc} */ public function normalize($object, $format = NULL, array $context = array()) { return $object->getValue(); diff --git a/core/modules/serialization/tests/serialization_test/src/SerializationTestEncoder.php b/core/modules/serialization/tests/serialization_test/src/SerializationTestEncoder.php index c3e6aa04973a7e874b8f7f8dfc2559ed3d027258..994e0278e04eec9c00872f3c0f35302777552540 100644 --- a/core/modules/serialization/tests/serialization_test/src/SerializationTestEncoder.php +++ b/core/modules/serialization/tests/serialization_test/src/SerializationTestEncoder.php @@ -19,7 +19,7 @@ class SerializationTestEncoder implements EncoderInterface { static protected $format = 'serialization_test'; /** - * Implements \Symfony\Component\Serializer\Encoder\EncoderInterface::encode(). + * {@inheritdoc} */ public function encode($data, $format, array $context = array()) { // @see \Drupal\serialization_test\SerializationTestNormalizer::normalize(). @@ -27,7 +27,7 @@ public function encode($data, $format, array $context = array()) { } /** - * Implements \Symfony\Component\Serializer\Encoder\EncoderInterface::supportsEncoding(). + * {@inheritdoc} */ public function supportsEncoding($format) { return static::$format === $format; diff --git a/core/modules/simpletest/src/InstallerTestBase.php b/core/modules/simpletest/src/InstallerTestBase.php index 0b8ff77280c91143922cdcbbde6903a8f5bcf39d..811584044fff533f4e36ad7b94e2b0f363c66562 100644 --- a/core/modules/simpletest/src/InstallerTestBase.php +++ b/core/modules/simpletest/src/InstallerTestBase.php @@ -72,7 +72,7 @@ abstract class InstallerTestBase extends WebTestBase { protected $isInstalled = FALSE; /** - * Overrides WebTestBase::setUp(). + * {@inheritdoc} */ protected function setUp() { $this->isInstalled = FALSE; diff --git a/core/modules/system/src/Tests/Installer/DistributionProfileTest.php b/core/modules/system/src/Tests/Installer/DistributionProfileTest.php index 367510f21d4c94d0fce1aa2b6ca21ec1ca73c8bc..2c01d2ed50ccece01fdba389731f2c9c93431cd6 100644 --- a/core/modules/system/src/Tests/Installer/DistributionProfileTest.php +++ b/core/modules/system/src/Tests/Installer/DistributionProfileTest.php @@ -45,7 +45,7 @@ protected function setUp() { } /** - * Overrides InstallerTest::setUpLanguage(). + * {@inheritdoc} */ protected function setUpLanguage() { // Verify that the distribution name appears. @@ -59,7 +59,7 @@ protected function setUpLanguage() { } /** - * Overrides InstallerTest::setUpProfile(). + * {@inheritdoc} */ protected function setUpProfile() { // This step is skipped, because there is a distribution profile. diff --git a/core/modules/system/src/Tests/Installer/InstallerTranslationTest.php b/core/modules/system/src/Tests/Installer/InstallerTranslationTest.php index 05b8408d879fa8d57ca84187b5b1ba695018dc58..db6a0ee1f1288d55a9941814bd61aa96c577af7e 100644 --- a/core/modules/system/src/Tests/Installer/InstallerTranslationTest.php +++ b/core/modules/system/src/Tests/Installer/InstallerTranslationTest.php @@ -26,7 +26,7 @@ class InstallerTranslationTest extends InstallerTestBase { protected $langcode = 'de'; /** - * Overrides InstallerTest::setUpLanguage(). + * {@inheritdoc} */ protected function setUpLanguage() { // Place a custom local translation in the translations directory. diff --git a/core/modules/system/src/Tests/Installer/SingleVisibleProfileTest.php b/core/modules/system/src/Tests/Installer/SingleVisibleProfileTest.php index 35bcf74cd3783b13fa44443764f7a05d3d24ce3e..12f9d45fdc3dbc902bbd96f1294964ba0b381cfa 100644 --- a/core/modules/system/src/Tests/Installer/SingleVisibleProfileTest.php +++ b/core/modules/system/src/Tests/Installer/SingleVisibleProfileTest.php @@ -49,7 +49,7 @@ protected function setUp() { } /** - * Overrides InstallerTest::setUpProfile(). + * {@inheritdoc} */ protected function setUpProfile() { // This step is skipped, because there is only one visible profile. diff --git a/core/modules/system/src/Tests/Installer/SiteNameTest.php b/core/modules/system/src/Tests/Installer/SiteNameTest.php index 484e3e84a91aacf3a859c2fa2252832dacc55cc0..49588b36a351851071c66e71630fb1a00729eb2d 100644 --- a/core/modules/system/src/Tests/Installer/SiteNameTest.php +++ b/core/modules/system/src/Tests/Installer/SiteNameTest.php @@ -24,7 +24,7 @@ class SiteNameTest extends WebTestBase { protected $siteName; /** - * Overrides \Drupal\simpletest\WebTestBase::installParameters(). + * {@inheritdoc} */ protected function installParameters() { $this->siteName = $this->randomMachineName(); diff --git a/core/modules/system/src/Tests/Routing/MockMatcher.php b/core/modules/system/src/Tests/Routing/MockMatcher.php index db7a272b8da9ce580a1db2931ecc0dd055843738..1512a8c77fcc5196d2f0624945d726b9cc0e0055 100644 --- a/core/modules/system/src/Tests/Routing/MockMatcher.php +++ b/core/modules/system/src/Tests/Routing/MockMatcher.php @@ -31,7 +31,7 @@ public function __construct(\Closure $matcher) { } /** - * Implements \Symfony\Component\Routing\Matcher\RequestMatcherInterface::matchRequest(). + * {@inheritdoc} */ public function matchRequest(Request $request) { $matcher = $this->matcher; diff --git a/core/modules/system/src/Tests/Routing/MockRouteProvider.php b/core/modules/system/src/Tests/Routing/MockRouteProvider.php index 21be90914f8f5980163f422de88de7b5974dde19..947dbdcec05a50c243d80341e33c529fcee11844 100644 --- a/core/modules/system/src/Tests/Routing/MockRouteProvider.php +++ b/core/modules/system/src/Tests/Routing/MockRouteProvider.php @@ -45,7 +45,7 @@ public function getRouteCollectionForRequest(Request $request) { } /** - * Implements \Symfony\Cmf\Component\Routing\RouteProviderInterface::getRouteByName(). + * {@inheritdoc} */ public function getRouteByName($name) { $routes = $this->getRoutesByNames(array($name)); @@ -64,7 +64,7 @@ public function preLoadRoutes($names) { } /** - * Implements \Symfony\Cmf\Component\Routing\RouteProviderInterface::getRoutesByName(). + * {@inheritdoc} */ public function getRoutesByNames($names) { $routes = array(); diff --git a/core/modules/system/tests/modules/plugin_test/src/Plugin/TestLazyPluginCollection.php b/core/modules/system/tests/modules/plugin_test/src/Plugin/TestLazyPluginCollection.php index 4079b557cf9a4db3f67ba6556332af86f9860769..6a06e95a50199bd3b32aca3412c3defa6f7a6552 100644 --- a/core/modules/system/tests/modules/plugin_test/src/Plugin/TestLazyPluginCollection.php +++ b/core/modules/system/tests/modules/plugin_test/src/Plugin/TestLazyPluginCollection.php @@ -36,7 +36,7 @@ public function __construct(PluginManagerInterface $manager) { } /** - * Implements \Drupal\Component\Plugin\LazyPluginCollection::initializePlugin(). + * {@inheritdoc} */ protected function initializePlugin($instance_id) { $this->pluginInstances[$instance_id] = $this->manager->createInstance($instance_id, array()); diff --git a/core/modules/system/tests/modules/service_provider_test/src/TestClass.php b/core/modules/system/tests/modules/service_provider_test/src/TestClass.php index bec97d230041e523fda9db6f5115aa9cc4c7557d..099ef2abcea53ce474e8f8ce709e1e9abc415b31 100644 --- a/core/modules/system/tests/modules/service_provider_test/src/TestClass.php +++ b/core/modules/system/tests/modules/service_provider_test/src/TestClass.php @@ -69,7 +69,7 @@ static function getSubscribedEvents() { } /** - * Implements \Drupal\Core\DestructableInterface::destruct(). + * {@inheritdoc} */ public function destruct() { $this->state->set('service_provider_test.destructed', TRUE); diff --git a/core/modules/system/tests/modules/service_provider_test/src/TestFileUsage.php b/core/modules/system/tests/modules/service_provider_test/src/TestFileUsage.php index 4cd67b917ff6c09d33151a05c6f750c2d8e9b3f9..f847acc1ee28efaa490d0141d0b102baeaf4d3b2 100644 --- a/core/modules/system/tests/modules/service_provider_test/src/TestFileUsage.php +++ b/core/modules/system/tests/modules/service_provider_test/src/TestFileUsage.php @@ -13,19 +13,19 @@ class TestFileUsage extends FileUsageBase { /** - * Implements Drupal\file\FileUsage\FileUsageInterface::add(). + * {@inheritdoc} */ public function add(FileInterface $file, $module, $type, $id, $count = 1) { } /** - * Implements Drupal\file\FileUsage\FileUsageInterface::delete(). + * {@inheritdoc} */ public function delete(FileInterface $file, $module, $type = NULL, $id = NULL, $count = 1) { } /** - * Implements Drupal\file\FileUsage\FileUsageInterface::listUsage(). + * {@inheritdoc} */ public function listUsage(FileInterface $file) { } diff --git a/core/modules/system/tests/modules/url_alter_test/src/PathProcessor.php b/core/modules/system/tests/modules/url_alter_test/src/PathProcessor.php index 809434c6437f7b8b177bc22290017bf364e2afd8..c2119c5785b5aee7a46ff0c55c8d377abb7c3a98 100644 --- a/core/modules/system/tests/modules/url_alter_test/src/PathProcessor.php +++ b/core/modules/system/tests/modules/url_alter_test/src/PathProcessor.php @@ -16,7 +16,7 @@ class PathProcessor implements InboundPathProcessorInterface { /** - * Implements Drupal\Core\PathProcessor\InboundPathProcessorInterface::processInbound(). + * {@inheritdoc} */ public function processInbound($path, Request $request) { if (preg_match('!^/user/([^/]+)(/.*)?!', $path, $matches)) { diff --git a/core/modules/system/tests/modules/url_alter_test/src/PathProcessorTest.php b/core/modules/system/tests/modules/url_alter_test/src/PathProcessorTest.php index 80af197c8928001400e076e0d25a96571d81325b..b65fb14815627585a1621b201e70bf54932b04a3 100644 --- a/core/modules/system/tests/modules/url_alter_test/src/PathProcessorTest.php +++ b/core/modules/system/tests/modules/url_alter_test/src/PathProcessorTest.php @@ -19,7 +19,7 @@ class PathProcessorTest implements InboundPathProcessorInterface, OutboundPathProcessorInterface { /** - * Implements Drupal\Core\PathProcessor\InboundPathProcessorInterface::processInbound(). + * {@inheritdoc} */ public function processInbound($path, Request $request) { // Rewrite user/username to user/uid. @@ -40,7 +40,7 @@ public function processInbound($path, Request $request) { } /** - * Implements Drupal\Core\PathProcessor\OutboundPathProcessorInterface::processOutbound(). + * {@inheritdoc} */ public function processOutbound($path, &$options = array(), Request $request = NULL, BubbleableMetadata $bubbleable_metadata = NULL) { // Rewrite user/uid to user/username. diff --git a/core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php b/core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php index f52e264a30a391ffadde8fc3a955113098e5972b..f99358f5f298fea8dcaa892b54ce9198adc1c3e1 100644 --- a/core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php +++ b/core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php @@ -78,7 +78,7 @@ public static function create(ContainerInterface $container, array $configuratio } /** - * Overrides \Drupal\views\Plugin\views\Plugin\views\PluginBase::init(). + * {@inheritdoc} */ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) { parent::init($view, $display, $options); diff --git a/core/modules/taxonomy/src/Plugin/views/argument_validator/Term.php b/core/modules/taxonomy/src/Plugin/views/argument_validator/Term.php index 189b254fc1e80dd0ffdb2fce7d316b0f172cdbcb..72d09e086233d61cec81764deecf529dbdac1e86 100644 --- a/core/modules/taxonomy/src/Plugin/views/argument_validator/Term.php +++ b/core/modules/taxonomy/src/Plugin/views/argument_validator/Term.php @@ -17,7 +17,7 @@ class Term extends Entity { /** - * Overrides \Drupal\views\Plugin\views\Plugin\views\PluginBase::init(). + * {@inheritdoc} */ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) { parent::init($view, $display, $options); diff --git a/core/modules/taxonomy/src/Plugin/views/field/TaxonomyIndexTid.php b/core/modules/taxonomy/src/Plugin/views/field/TaxonomyIndexTid.php index 845f3524bf023d57692034d9ffcd40daf98bab1f..7c8e7a3b73b069dcd68edfe0a104ede77d1bbd17 100644 --- a/core/modules/taxonomy/src/Plugin/views/field/TaxonomyIndexTid.php +++ b/core/modules/taxonomy/src/Plugin/views/field/TaxonomyIndexTid.php @@ -60,7 +60,7 @@ public static function create(ContainerInterface $container, array $configuratio } /** - * Overrides \Drupal\views\Plugin\views\field\PrerenderList::init(). + * {@inheritdoc} */ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) { parent::init($view, $display, $options); diff --git a/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php b/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php index 9bb575c4e3fec59236a1d8556a63ba54a0d825c3..690ec6d76e8e78f442350b4aaa38c1582ec20d60 100644 --- a/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php +++ b/core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php @@ -77,7 +77,7 @@ public static function create(ContainerInterface $container, array $configuratio } /** - * Overrides \Drupal\views\Plugin\views\filter\ManyToOne::init(). + * {@inheritdoc} */ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) { parent::init($view, $display, $options); diff --git a/core/modules/taxonomy/src/Plugin/views/relationship/NodeTermData.php b/core/modules/taxonomy/src/Plugin/views/relationship/NodeTermData.php index a5e5650ca262d8cd75a8d459c62d0a2a0515ea84..4812efbfe79208f0e7e827cbc528478da783e8f4 100644 --- a/core/modules/taxonomy/src/Plugin/views/relationship/NodeTermData.php +++ b/core/modules/taxonomy/src/Plugin/views/relationship/NodeTermData.php @@ -60,7 +60,7 @@ public static function create(ContainerInterface $container, array $configuratio } /** - * Overrides \Drupal\views\Plugin\views\relationship\RelationshipPluginBase::init(). + * {@inheritdoc} */ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) { parent::init($view, $display, $options); diff --git a/core/modules/taxonomy/src/Plugin/views/wizard/TaxonomyTerm.php b/core/modules/taxonomy/src/Plugin/views/wizard/TaxonomyTerm.php index 3e97ec367fe1dc34cedc16c204126d63ef96f14e..ceedf60ede993b3100045ad6120a51111e9d7c4c 100644 --- a/core/modules/taxonomy/src/Plugin/views/wizard/TaxonomyTerm.php +++ b/core/modules/taxonomy/src/Plugin/views/wizard/TaxonomyTerm.php @@ -21,7 +21,7 @@ class TaxonomyTerm extends WizardPluginBase { /** - * Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::defaultDisplayOptions(). + * {@inheritdoc} */ protected function defaultDisplayOptions() { $display_options = parent::defaultDisplayOptions(); diff --git a/core/modules/taxonomy/src/Tests/TermTranslationUITest.php b/core/modules/taxonomy/src/Tests/TermTranslationUITest.php index 176319bff352df2465a4c967746739dd26b59ef8..ed8414461264e5af5032e6e6d201a2d34bc7bb14 100644 --- a/core/modules/taxonomy/src/Tests/TermTranslationUITest.php +++ b/core/modules/taxonomy/src/Tests/TermTranslationUITest.php @@ -38,7 +38,7 @@ protected function setUp() { } /** - * Overrides \Drupal\content_translation\Tests\ContentTranslationUITestBase::setupBundle(). + * {@inheritdoc} */ protected function setupBundle() { parent::setupBundle(); @@ -55,14 +55,14 @@ protected function setupBundle() { } /** - * Overrides \Drupal\content_translation\Tests\ContentTranslationUITestBase::getTranslatorPermission(). + * {@inheritdoc} */ protected function getTranslatorPermissions() { return array_merge(parent::getTranslatorPermissions(), array('administer taxonomy')); } /** - * Overrides \Drupal\content_translation\Tests\ContentTranslationUITestBase::getNewEntityValues(). + * {@inheritdoc} */ protected function getNewEntityValues($langcode) { return array('name' => $this->randomMachineName()) + parent::getNewEntityValues($langcode); @@ -88,7 +88,7 @@ protected function getEditValues($values, $langcode, $new = FALSE) { } /** - * Overrides \Drupal\content_translation\Tests\ContentTranslationUITestBase::testTranslationUI(). + * {@inheritdoc} */ public function testTranslationUI() { parent::testTranslationUI(); diff --git a/core/modules/text/src/TextProcessed.php b/core/modules/text/src/TextProcessed.php index 57b36f42f208a6c34782f80a46c38809b62cd8b8..b9ac84846ac1d243fdedf6d19a2952f2c5f7ec3f 100644 --- a/core/modules/text/src/TextProcessed.php +++ b/core/modules/text/src/TextProcessed.php @@ -27,7 +27,7 @@ class TextProcessed extends TypedData { protected $processed = NULL; /** - * Overrides TypedData::__construct(). + * {@inheritdoc} */ public function __construct(DataDefinitionInterface $definition, $name = NULL, TypedDataInterface $parent = NULL) { parent::__construct($definition, $name, $parent); @@ -38,7 +38,7 @@ public function __construct(DataDefinitionInterface $definition, $name = NULL, T } /** - * Implements \Drupal\Core\TypedData\TypedDataInterface::getValue(). + * {@inheritdoc} */ public function getValue() { if ($this->processed !== NULL) { @@ -59,7 +59,7 @@ public function getValue() { } /** - * Implements \Drupal\Core\TypedData\TypedDataInterface::setValue(). + * {@inheritdoc} */ public function setValue($value, $notify = TRUE) { $this->processed = $value; diff --git a/core/modules/tour/src/Entity/Tour.php b/core/modules/tour/src/Entity/Tour.php index 5d42e0b0466ff79c558e4d83df1428c0ec9794cb..16372aaa0ce74b8e6538ef83bc06aecede342d1d 100644 --- a/core/modules/tour/src/Entity/Tour.php +++ b/core/modules/tour/src/Entity/Tour.php @@ -88,7 +88,7 @@ class Tour extends ConfigEntityBase implements TourInterface { protected $tips = array(); /** - * Overrides \Drupal\Core\Config\Entity\ConfigEntityBase::__construct(); + * {@inheritdoc} */ public function __construct(array $values, $entity_type) { parent::__construct($values, $entity_type); diff --git a/core/modules/update/src/UpdateSettingsForm.php b/core/modules/update/src/UpdateSettingsForm.php index 12f2e4b6aace54b8f8ace22f9d13646ba854c8e5..ee44b411ba734f98df11abfc36c57eb6b4b9592f 100644 --- a/core/modules/update/src/UpdateSettingsForm.php +++ b/core/modules/update/src/UpdateSettingsForm.php @@ -105,7 +105,7 @@ public function buildForm(array $form, FormStateInterface $form_state) { } /** - * Implements \Drupal\Core\Form\FormInterface::validateForm(). + * {@inheritdoc} */ public function validateForm(array &$form, FormStateInterface $form_state) { $form_state->set('notify_emails', []); diff --git a/core/modules/user/src/Plugin/views/access/Permission.php b/core/modules/user/src/Plugin/views/access/Permission.php index c54bfff1245816c3c45ea081546a345dd55e5c3e..17e7e28ea2515dc8a897664dd802f77b6846c4f4 100644 --- a/core/modules/user/src/Plugin/views/access/Permission.php +++ b/core/modules/user/src/Plugin/views/access/Permission.php @@ -31,7 +31,7 @@ class Permission extends AccessPluginBase implements CacheableDependencyInterface { /** - * Overrides Drupal\views\Plugin\Plugin::$usesOptions. + * {@inheritdoc} */ protected $usesOptions = TRUE; diff --git a/core/modules/user/src/Plugin/views/access/Role.php b/core/modules/user/src/Plugin/views/access/Role.php index ad779d63cc92b062e27a213e65aadf7757f833b9..4ca7410a58caee4e2b93282d206af6da77d0a1a9 100644 --- a/core/modules/user/src/Plugin/views/access/Role.php +++ b/core/modules/user/src/Plugin/views/access/Role.php @@ -30,7 +30,7 @@ class Role extends AccessPluginBase implements CacheableDependencyInterface { /** - * Overrides Drupal\views\Plugin\Plugin::$usesOptions. + * {@inheritdoc} */ protected $usesOptions = TRUE; diff --git a/core/modules/user/src/Plugin/views/field/Permissions.php b/core/modules/user/src/Plugin/views/field/Permissions.php index 036a3e3809c50132e129bb72d892d750ff68ed14..3117fa4535ca29113ba38f5742bac12aa74e5861 100644 --- a/core/modules/user/src/Plugin/views/field/Permissions.php +++ b/core/modules/user/src/Plugin/views/field/Permissions.php @@ -66,7 +66,7 @@ public static function create(ContainerInterface $container, array $configuratio } /** - * Overrides Drupal\views\Plugin\views\field\FieldPluginBase::init(). + * {@inheritdoc} */ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) { parent::init($view, $display, $options); diff --git a/core/modules/user/src/Plugin/views/field/Roles.php b/core/modules/user/src/Plugin/views/field/Roles.php index e00da614fc6dd4e652531fa630f16a12da4e5a8b..2ed330b1067e0998ffdf426d34089dabc4534135 100644 --- a/core/modules/user/src/Plugin/views/field/Roles.php +++ b/core/modules/user/src/Plugin/views/field/Roles.php @@ -55,7 +55,7 @@ public static function create(ContainerInterface $container, array $configuratio } /** - * Overrides Drupal\views\Plugin\views\field\FieldPluginBase::init(). + * {@inheritdoc} */ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) { parent::init($view, $display, $options); diff --git a/core/modules/user/src/Plugin/views/filter/Current.php b/core/modules/user/src/Plugin/views/filter/Current.php index f7e20fad5228d23c4e9fc5cb0e28b8b7b71cb75b..f9dda7ec67252e05cc21c51b3ebed5159497651f 100644 --- a/core/modules/user/src/Plugin/views/filter/Current.php +++ b/core/modules/user/src/Plugin/views/filter/Current.php @@ -21,7 +21,7 @@ class Current extends BooleanOperator { /** - * Overrides Drupal\views\Plugin\views\filter\BooleanOperator::init(). + * {@inheritdoc} */ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) { parent::init($view, $display, $options); diff --git a/core/modules/user/src/Plugin/views/wizard/Users.php b/core/modules/user/src/Plugin/views/wizard/Users.php index f6f0cf0c99c067d8684eb932cc8ea4d6ab9be8eb..329f24fc9e8a5814c49c54b230a4cdb685698431 100644 --- a/core/modules/user/src/Plugin/views/wizard/Users.php +++ b/core/modules/user/src/Plugin/views/wizard/Users.php @@ -44,7 +44,7 @@ class Users extends WizardPluginBase { ); /** - * Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::defaultDisplayOptions(). + * {@inheritdoc} */ protected function defaultDisplayOptions() { $display_options = parent::defaultDisplayOptions(); diff --git a/core/modules/user/src/RegisterForm.php b/core/modules/user/src/RegisterForm.php index f7aa86636ff815d9d836baaa34f0245d75164adb..d24a4b474224252ab48c727d173371e59e2ef225 100644 --- a/core/modules/user/src/RegisterForm.php +++ b/core/modules/user/src/RegisterForm.php @@ -63,7 +63,7 @@ public function form(array $form, FormStateInterface $form_state) { } /** - * Overrides Drupal\Core\Entity\EntityForm::actions(). + * {@inheritdoc} */ protected function actions(array $form, FormStateInterface $form_state) { $element = parent::actions($form, $form_state); diff --git a/core/modules/user/src/Tests/UserTranslationUITest.php b/core/modules/user/src/Tests/UserTranslationUITest.php index dd74391072c6d0c50f53d47e305a771a4b8fc9c4..59ef210900fbae5482aa8c4fb2951b2b526d1e22 100644 --- a/core/modules/user/src/Tests/UserTranslationUITest.php +++ b/core/modules/user/src/Tests/UserTranslationUITest.php @@ -40,14 +40,14 @@ protected function setUp() { } /** - * Overrides \Drupal\content_translation\Tests\ContentTranslationUITestBase::getTranslatorPermission(). + * {@inheritdoc} */ protected function getTranslatorPermissions() { return array_merge(parent::getTranslatorPermissions(), array('administer users')); } /** - * Overrides \Drupal\content_translation\Tests\ContentTranslationUITestBase::getNewEntityValues(). + * {@inheritdoc} */ protected function getNewEntityValues($langcode) { // User name is not translatable hence we use a fixed value. diff --git a/core/modules/user/src/UserData.php b/core/modules/user/src/UserData.php index 946da701d0ac2a38b0e3f0c332d7a6afc91c673d..720c899e5035777952b1c167c6d4633d5c1e8215 100644 --- a/core/modules/user/src/UserData.php +++ b/core/modules/user/src/UserData.php @@ -32,7 +32,7 @@ public function __construct(Connection $connection) { } /** - * Implements \Drupal\user\UserDataInterface::get(). + * {@inheritdoc} */ public function get($module, $uid = NULL, $name = NULL) { $query = $this->connection->select('users_data', 'ud') @@ -80,7 +80,7 @@ public function get($module, $uid = NULL, $name = NULL) { } /** - * Implements \Drupal\user\UserDataInterface::set(). + * {@inheritdoc} */ public function set($module, $uid, $name, $value) { $serialized = 0; @@ -102,7 +102,7 @@ public function set($module, $uid, $name, $value) { } /** - * Implements \Drupal\user\UserDataInterface::delete(). + * {@inheritdoc} */ public function delete($module = NULL, $uid = NULL, $name = NULL) { $query = $this->connection->delete('users_data'); diff --git a/core/modules/views/src/Ajax/HighlightCommand.php b/core/modules/views/src/Ajax/HighlightCommand.php index 9558ddf7102eff5a915e9277ce95e1f4204748a3..dd405c1461d005e94e53be9d3c97646158e233d4 100644 --- a/core/modules/views/src/Ajax/HighlightCommand.php +++ b/core/modules/views/src/Ajax/HighlightCommand.php @@ -34,7 +34,7 @@ public function __construct($selector) { } /** - * Implements \Drupal\Core\Ajax\CommandInterface::render(). + * {@inheritdoc} */ public function render() { return array( diff --git a/core/modules/views/src/Ajax/ReplaceTitleCommand.php b/core/modules/views/src/Ajax/ReplaceTitleCommand.php index 8972969eab0b7f4289359826b9ba688d8cf1cbca..87c13f1eb0b08c1c9e29f2bb1a532dd118939ca4 100644 --- a/core/modules/views/src/Ajax/ReplaceTitleCommand.php +++ b/core/modules/views/src/Ajax/ReplaceTitleCommand.php @@ -34,7 +34,7 @@ public function __construct($title) { } /** - * Implements \Drupal\Core\Ajax\CommandInterface::render(). + * {@inheritdoc} */ public function render() { return array( diff --git a/core/modules/views/src/Ajax/ScrollTopCommand.php b/core/modules/views/src/Ajax/ScrollTopCommand.php index 4c7c4be8cd48ce2d8aeb7758d33ea3e9f4c5f686..cb7ba67f19e27f67ab55f2d04d6b2988c9114b9c 100644 --- a/core/modules/views/src/Ajax/ScrollTopCommand.php +++ b/core/modules/views/src/Ajax/ScrollTopCommand.php @@ -34,7 +34,7 @@ public function __construct($selector) { } /** - * Implements \Drupal\Core\Ajax\CommandInterface::render(). + * {@inheritdoc} */ public function render() { return array( diff --git a/core/modules/views/src/Ajax/ShowButtonsCommand.php b/core/modules/views/src/Ajax/ShowButtonsCommand.php index 28752b1158cc7818a131ed8697164b6760adab0a..3a9f01c3c0a2524124b20869468b77f60b8a33cb 100644 --- a/core/modules/views/src/Ajax/ShowButtonsCommand.php +++ b/core/modules/views/src/Ajax/ShowButtonsCommand.php @@ -35,7 +35,7 @@ public function __construct($changed) { } /** - * Implements \Drupal\Core\Ajax\CommandInterface::render(). + * {@inheritdoc} */ public function render() { return array( diff --git a/core/modules/views/src/Ajax/TriggerPreviewCommand.php b/core/modules/views/src/Ajax/TriggerPreviewCommand.php index ccb8d085f4f0aacffc55dd10d06f33d6ee64702a..330832e4f2f842b39dc9a9cce417c3ae6d5c1e00 100644 --- a/core/modules/views/src/Ajax/TriggerPreviewCommand.php +++ b/core/modules/views/src/Ajax/TriggerPreviewCommand.php @@ -17,7 +17,7 @@ class TriggerPreviewCommand implements CommandInterface { /** - * Implements \Drupal\Core\Ajax\CommandInterface::render(). + * {@inheritdoc} */ public function render() { return array( diff --git a/core/modules/views/src/DisplayPluginCollection.php b/core/modules/views/src/DisplayPluginCollection.php index b5cf34bb5b2edb3b7ecce0ffa7e7fe3bceae5055..dc3b9985a547eb61ea2281226eccb037a5bbada8 100644 --- a/core/modules/views/src/DisplayPluginCollection.php +++ b/core/modules/views/src/DisplayPluginCollection.php @@ -60,7 +60,7 @@ public function &get($instance_id) { } /** - * Overrides \Drupal\Component\Plugin\LazyPluginCollection::clear(). + * {@inheritdoc} */ public function clear() { foreach (array_filter($this->pluginInstances) as $display) { @@ -102,7 +102,7 @@ protected function initializePlugin($display_id) { } /** - * Overrides \Drupal\Component\Plugin\LazyPluginCollection::remove(). + * {@inheritdoc} */ public function remove($instance_id) { $this->get($instance_id)->remove(); diff --git a/core/modules/views/src/Plugin/views/area/Entity.php b/core/modules/views/src/Plugin/views/area/Entity.php index eb2f0f30e5a706bcd94da1b93851c688cd5919cf..fb2484216a475f3fd2f1a00b4c98c543e86b9c21 100644 --- a/core/modules/views/src/Plugin/views/area/Entity.php +++ b/core/modules/views/src/Plugin/views/area/Entity.php @@ -67,7 +67,7 @@ public static function create(ContainerInterface $container, array $configuratio } /** - * Overrides \Drupal\views\Plugin\views\area\AreaPluginBase::init(). + * {@inheritdoc} */ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) { parent::init($view, $display, $options); diff --git a/core/modules/views/src/Plugin/views/argument/Date.php b/core/modules/views/src/Plugin/views/argument/Date.php index 2186fa1afcaea38bb10074353d325e184bdea679..d5b0b3440e359395097d0507c0e216ddd893d46f 100644 --- a/core/modules/views/src/Plugin/views/argument/Date.php +++ b/core/modules/views/src/Plugin/views/argument/Date.php @@ -128,7 +128,7 @@ public function getSortName() { } /** - * Overrides \Drupal\views\Plugin\views\argument\Formula::getFormula(). + * {@inheritdoc} */ public function getFormula() { $this->formula = $this->getDateFormat($this->argFormat); diff --git a/core/modules/views/src/Plugin/views/argument/Formula.php b/core/modules/views/src/Plugin/views/argument/Formula.php index db94c24387e2422d5b0e38f3bd3e3bfe70edb378..903d1c795ee5053a57636d6534411ebdc869d05c 100644 --- a/core/modules/views/src/Plugin/views/argument/Formula.php +++ b/core/modules/views/src/Plugin/views/argument/Formula.php @@ -27,7 +27,7 @@ class Formula extends ArgumentPluginBase { var $formula = NULL; /** - * Overrides Drupal\views\Plugin\views\argument\ArgumentPluginBase::init(). + * {@inheritdoc} */ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) { parent::init($view, $display, $options); diff --git a/core/modules/views/src/Plugin/views/argument/ManyToOne.php b/core/modules/views/src/Plugin/views/argument/ManyToOne.php index 7c6367ad882d9fbe09089f631ada3129251ac6f3..fa3e36445bb5995086627523a66ad41483472216 100644 --- a/core/modules/views/src/Plugin/views/argument/ManyToOne.php +++ b/core/modules/views/src/Plugin/views/argument/ManyToOne.php @@ -30,7 +30,7 @@ class ManyToOne extends ArgumentPluginBase { /** - * Overrides \Drupal\views\Plugin\views\argument\ArgumentPluginBase::init(). + * {@inheritdoc} */ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) { parent::init($view, $display, $options); diff --git a/core/modules/views/src/Plugin/views/argument/StringArgument.php b/core/modules/views/src/Plugin/views/argument/StringArgument.php index 409f10de1330626b6253da212567638e7cbf62be..3302a52b904d93e9de753edce05eeabfdc9ad75f 100644 --- a/core/modules/views/src/Plugin/views/argument/StringArgument.php +++ b/core/modules/views/src/Plugin/views/argument/StringArgument.php @@ -25,7 +25,7 @@ class StringArgument extends ArgumentPluginBase { /** - * Overrides \Drupal\views\Plugin\views\argument\ArgumentPluginBase::init(). + * {@inheritdoc} */ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) { parent::init($view, $display, $options); diff --git a/core/modules/views/src/Plugin/views/cache/Time.php b/core/modules/views/src/Plugin/views/cache/Time.php index 9ef1cd1e04ea2d2975772c5351e6911156a36699..51faa0d98d3c4f891ca9f13dd30b63c0d721bd33 100644 --- a/core/modules/views/src/Plugin/views/cache/Time.php +++ b/core/modules/views/src/Plugin/views/cache/Time.php @@ -27,7 +27,7 @@ class Time extends CachePluginBase { /** - * Overrides Drupal\views\Plugin\Plugin::$usesOptions. + * {@inheritdoc} */ protected $usesOptions = TRUE; diff --git a/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php b/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php index 21ea4d25a91949d728d9d498bb10ffb57034a543..d54a0551ff2ef55de174509a7780ceea149c67a4 100644 --- a/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php +++ b/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php @@ -59,7 +59,7 @@ abstract class DisplayPluginBase extends PluginBase implements DisplayPluginInte protected $extenders = []; /** - * Overrides Drupal\views\Plugin\Plugin::$usesOptions. + * {@inheritdoc} */ protected $usesOptions = TRUE; diff --git a/core/modules/views/src/Plugin/views/display/EntityReference.php b/core/modules/views/src/Plugin/views/display/EntityReference.php index 20ca0202c1e5c5b9cf4bee837d27b94094578db3..9e142fa78d14aa3ecce88a9f89637dd6a04093de 100644 --- a/core/modules/views/src/Plugin/views/display/EntityReference.php +++ b/core/modules/views/src/Plugin/views/display/EntityReference.php @@ -30,22 +30,22 @@ class EntityReference extends DisplayPluginBase { /** - * Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase::$useAJAX. + * {@inheritdoc} */ protected $usesAJAX = FALSE; /** - * Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase::$usesPager. + * {@inheritdoc} */ protected $usesPager = FALSE; /** - * Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase::$usesAttachments. + * {@inheritdoc} */ protected $usesAttachments = FALSE; /** - * Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase::defineOptions(). + * {@inheritdoc} */ protected function defineOptions() { $options = parent::defineOptions(); @@ -79,21 +79,21 @@ public function optionsSummary(&$categories, &$options) { } /** - * Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase::getType(). + * {@inheritdoc} */ public function getType() { return 'entity_reference'; } /** - * Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase::execute(). + * {@inheritdoc} */ public function execute() { return $this->view->render($this->display['id']); } /** - * Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase::render(). + * {@inheritdoc} */ public function render() { if (!empty($this->view->result) && $this->view->style_plugin->evenEmpty()) { @@ -103,14 +103,14 @@ public function render() { } /** - * Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase::usesExposed(). + * {@inheritdoc} */ public function usesExposed() { return FALSE; } /** - * Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase::query(). + * {@inheritdoc} */ public function query() { if (!empty($this->view->live_preview)) { @@ -157,7 +157,7 @@ public function query() { } /** - * Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase::validate(). + * {@inheritdoc} */ public function validate() { $errors = parent::validate(); diff --git a/core/modules/views/src/Plugin/views/display/Feed.php b/core/modules/views/src/Plugin/views/display/Feed.php index d01cbb8dbf151ee38c0fe03d7c5ac967dcc18734..b6bdbd5265075eed82beb3fca55c3b4d4819288a 100644 --- a/core/modules/views/src/Plugin/views/display/Feed.php +++ b/core/modules/views/src/Plugin/views/display/Feed.php @@ -45,7 +45,7 @@ class Feed extends PathPluginBase implements ResponseDisplayPluginInterface { protected $usesPager = FALSE; /** - * Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase::getType(). + * {@inheritdoc} */ public function getType() { return 'feed'; @@ -89,7 +89,7 @@ public function execute() { } /** - * Overrides \Drupal\views\Plugin\views\display\PathPluginBase::preview(). + * {@inheritdoc} */ public function preview() { $output = $this->view->render(); @@ -106,7 +106,7 @@ public function preview() { } /** - * Overrides \Drupal\views\Plugin\views\display\PathPluginBase::render(). + * {@inheritdoc} */ public function render() { $build = $this->view->style_plugin->render($this->view->result); @@ -117,7 +117,7 @@ public function render() { } /** - * Overrides \Drupal\views\Plugin\views\displays\DisplayPluginBase::defaultableSections(). + * {@inheritdoc} */ public function defaultableSections($section = NULL) { $sections = parent::defaultableSections($section); @@ -137,7 +137,7 @@ public function defaultableSections($section = NULL) { } /** - * Overrides \Drupal\views\Plugin\views\display\PathPluginBase::defineOptions(). + * {@inheritdoc} */ protected function defineOptions() { $options = parent::defineOptions(); @@ -175,7 +175,7 @@ public function newDisplay() { } /** - * Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase::optionsSummary(). + * {@inheritdoc} */ public function optionsSummary(&$categories, &$options) { parent::optionsSummary($categories, $options); @@ -218,7 +218,7 @@ public function optionsSummary(&$categories, &$options) { } /** - * Overrides \Drupal\views\Plugin\views\display\PathPluginBase::buildOptionsForm(). + * {@inheritdoc} */ public function buildOptionsForm(&$form, FormStateInterface $form_state) { // It is very important to call the parent function here. @@ -264,7 +264,7 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) { } /** - * Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase::submitOptionsForm(). + * {@inheritdoc} */ public function submitOptionsForm(&$form, FormStateInterface $form_state) { parent::submitOptionsForm($form, $form_state); @@ -306,7 +306,7 @@ public function attachTo(ViewExecutable $clone, $display_id, array &$build) { } /** - * Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase::usesLinkDisplay(). + * {@inheritdoc} */ public function usesLinkDisplay() { return TRUE; diff --git a/core/modules/views/src/Plugin/views/display/Page.php b/core/modules/views/src/Plugin/views/display/Page.php index 2c45ccfa5fb79bd2adf4f7894026050d3c117dc1..77f1b770a0ef8a2224360006fd750c6d9f5bf5ed 100644 --- a/core/modules/views/src/Plugin/views/display/Page.php +++ b/core/modules/views/src/Plugin/views/display/Page.php @@ -118,7 +118,7 @@ public static function &getPageRenderArray() { } /** - * Overrides \Drupal\views\Plugin\views\display\PathPluginBase::defineOptions(). + * {@inheritdoc} */ protected function defineOptions() { $options = parent::defineOptions(); @@ -165,7 +165,7 @@ public static function buildBasicRenderable($view_id, $display_id, array $args = } /** - * Overrides \Drupal\views\Plugin\views\display\PathPluginBase::execute(). + * {@inheritdoc} */ public function execute() { parent::execute(); @@ -186,7 +186,7 @@ public function execute() { } /** - * Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase::optionsSummary(). + * {@inheritdoc} */ public function optionsSummary(&$categories, &$options) { parent::optionsSummary($categories, $options); @@ -224,7 +224,7 @@ public function optionsSummary(&$categories, &$options) { } /** - * Overrides \Drupal\views\Plugin\views\display\callbackPluginBase::buildOptionsForm(). + * {@inheritdoc} */ public function buildOptionsForm(&$form, FormStateInterface $form_state) { parent::buildOptionsForm($form, $form_state); @@ -431,7 +431,7 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) { } /** - * Overrides \Drupal\views\Plugin\views\display\callbackPluginBase::validateOptionsForm(). + * {@inheritdoc} */ public function validateOptionsForm(&$form, FormStateInterface $form_state) { parent::validateOptionsForm($form, $form_state); @@ -458,7 +458,7 @@ public function validateOptionsForm(&$form, FormStateInterface $form_state) { } /** - * Overrides \Drupal\views\Plugin\views\display\callbackPluginBase::submitOptionsForm(). + * {@inheritdoc} */ public function submitOptionsForm(&$form, FormStateInterface $form_state) { parent::submitOptionsForm($form, $form_state); @@ -480,7 +480,7 @@ public function submitOptionsForm(&$form, FormStateInterface $form_state) { } /** - * Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase::validate(). + * {@inheritdoc} */ public function validate() { $errors = parent::validate(); @@ -501,7 +501,7 @@ public function validate() { } /** - * Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase::getArgumentText(). + * {@inheritdoc} */ public function getArgumentText() { return array( @@ -512,7 +512,7 @@ public function getArgumentText() { } /** - * Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase::getPagerText(). + * {@inheritdoc} */ public function getPagerText() { return array( diff --git a/core/modules/views/src/Plugin/views/display/PathPluginBase.php b/core/modules/views/src/Plugin/views/display/PathPluginBase.php index aab4f6d0e53d03c6ef2f860852fe739b50acfa42..4df46bccd9924a6123f4a3c2b32de84f0ff774ae 100644 --- a/core/modules/views/src/Plugin/views/display/PathPluginBase.php +++ b/core/modules/views/src/Plugin/views/display/PathPluginBase.php @@ -80,7 +80,7 @@ public static function create(ContainerInterface $container, array $configuratio } /** - * Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase::hasPath(). + * {@inheritdoc} */ public function hasPath() { return TRUE; @@ -341,7 +341,7 @@ public function getMenuLinks() { } /** - * Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase::execute(). + * {@inheritdoc} */ public function execute() { // Prior to this being called, the $view should already be set to this @@ -358,7 +358,7 @@ public function execute() { } /** - * Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase::optionsSummary(). + * {@inheritdoc} */ public function optionsSummary(&$categories, &$options) { parent::optionsSummary($categories, $options); @@ -388,7 +388,7 @@ public function optionsSummary(&$categories, &$options) { } /** - * Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase::buildOptionsForm(). + * {@inheritdoc} */ public function buildOptionsForm(&$form, FormStateInterface $form_state) { parent::buildOptionsForm($form, $form_state); @@ -412,7 +412,7 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) { } /** - * Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase::validateOptionsForm(). + * {@inheritdoc} */ public function validateOptionsForm(&$form, FormStateInterface $form_state) { parent::validateOptionsForm($form, $form_state); @@ -429,7 +429,7 @@ public function validateOptionsForm(&$form, FormStateInterface $form_state) { } /** - * Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase::submitOptionsForm(). + * {@inheritdoc} */ public function submitOptionsForm(&$form, FormStateInterface $form_state) { parent::submitOptionsForm($form, $form_state); diff --git a/core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php b/core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php index 99a5ad031c449bdf9ec2d0b5c4202161c450b399..5a47cfec34c189060dfbf00fa02465d150e934a0 100644 --- a/core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php +++ b/core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php @@ -36,7 +36,7 @@ abstract class ExposedFormPluginBase extends PluginBase implements CacheableDependencyInterface { /** - * Overrides Drupal\views\Plugin\Plugin::$usesOptions. + * {@inheritdoc} */ protected $usesOptions = TRUE; diff --git a/core/modules/views/src/Plugin/views/field/FieldPluginBase.php b/core/modules/views/src/Plugin/views/field/FieldPluginBase.php index fb2ec961ab8a5e9b512110153a022b889b3103f2..96416fe9345ebdf237335fb4e38cbc920b221fa5 100644 --- a/core/modules/views/src/Plugin/views/field/FieldPluginBase.php +++ b/core/modules/views/src/Plugin/views/field/FieldPluginBase.php @@ -107,7 +107,7 @@ abstract class FieldPluginBase extends HandlerBase implements FieldHandlerInterf protected $renderer; /** - * Overrides Drupal\views\Plugin\views\HandlerBase::init(). + * {@inheritdoc} */ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) { parent::init($view, $display, $options); diff --git a/core/modules/views/src/Plugin/views/filter/BooleanOperator.php b/core/modules/views/src/Plugin/views/filter/BooleanOperator.php index cd26297460f41a933aa889b15b0dd7a9f2cbee1c..e936ac9ddbfc6bf4a3a6f7553cab5cce21225170 100644 --- a/core/modules/views/src/Plugin/views/filter/BooleanOperator.php +++ b/core/modules/views/src/Plugin/views/filter/BooleanOperator.php @@ -75,7 +75,7 @@ protected function operators() { } /** - * Overrides \Drupal\views\Plugin\views\filter\FilterPluginBase::init(). + * {@inheritdoc} */ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) { parent::init($view, $display, $options); diff --git a/core/modules/views/src/Plugin/views/filter/Bundle.php b/core/modules/views/src/Plugin/views/filter/Bundle.php index cfea7a84c12cc6044928a287e1059380147bd37b..8161b7bf45214ab5ebe936850732f31f9274d86d 100644 --- a/core/modules/views/src/Plugin/views/filter/Bundle.php +++ b/core/modules/views/src/Plugin/views/filter/Bundle.php @@ -73,7 +73,7 @@ public static function create(ContainerInterface $container, array $configuratio } /** - * Overrides \Drupal\views\Plugin\views\filter\InOperator::init(). + * {@inheritdoc} */ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) { parent::init($view, $display, $options); @@ -84,7 +84,7 @@ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$o } /** - * Overrides \Drupal\views\Plugin\views\filter\InOperator::getValueOptions(). + * {@inheritdoc} */ public function getValueOptions() { if (!isset($this->valueOptions)) { @@ -104,7 +104,7 @@ public function getValueOptions() { } /** - * Overrides \Drupal\views\Plugin\views\filter\InOperator::query(). + * {@inheritdoc} */ public function query() { // Make sure that the entity base table is in the query. diff --git a/core/modules/views/src/Plugin/views/filter/InOperator.php b/core/modules/views/src/Plugin/views/filter/InOperator.php index c506991e108cced6a69dea3ea142074643712c20..5d0ae74a853366d2926e63e3a70a96980276fc5f 100644 --- a/core/modules/views/src/Plugin/views/filter/InOperator.php +++ b/core/modules/views/src/Plugin/views/filter/InOperator.php @@ -42,7 +42,7 @@ class InOperator extends FilterPluginBase { protected $valueTitle; /** - * Overrides \Drupal\views\Plugin\views\filter\FilterPluginBase::init(). + * {@inheritdoc} */ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) { parent::init($view, $display, $options); diff --git a/core/modules/views/src/Plugin/views/filter/ManyToOne.php b/core/modules/views/src/Plugin/views/filter/ManyToOne.php index e9279918be3ef4fec6a8b6242d8e7487a3d8d207..a7c385ff28eb60a05bd920f5be32832975ce936b 100644 --- a/core/modules/views/src/Plugin/views/filter/ManyToOne.php +++ b/core/modules/views/src/Plugin/views/filter/ManyToOne.php @@ -34,7 +34,7 @@ class ManyToOne extends InOperator { var $helper = NULL; /** - * Overrides \Drupal\views\Plugin\views\filter\InOperator::init(). + * {@inheritdoc} */ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) { parent::init($view, $display, $options); diff --git a/core/modules/views/src/Plugin/views/pager/Full.php b/core/modules/views/src/Plugin/views/pager/Full.php index d87cf9dcbbcb5296dc915dd454b4046fbdcb697d..47379bda48ee0d1314fc216fa87e908eb7c6339b 100644 --- a/core/modules/views/src/Plugin/views/pager/Full.php +++ b/core/modules/views/src/Plugin/views/pager/Full.php @@ -26,7 +26,7 @@ class Full extends SqlBase { /** - * Overrides \Drupal\views\Plugin\views\SqlBase::defineOptions(). + * {@inheritdoc} */ protected function defineOptions() { $options = parent::defineOptions(); @@ -41,7 +41,7 @@ protected function defineOptions() { } /** - * Overrides \Drupal\views\Plugin\views\SqlBase::buildOptionsForm(). + * {@inheritdoc} */ public function buildOptionsForm(&$form, FormStateInterface $form_state) { parent::buildOptionsForm($form, $form_state); @@ -69,7 +69,7 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) { } /** - * Overrides \Drupal\views\Plugin\views\pager\PagerPluginBase::summaryTitle(). + * {@inheritdoc} */ public function summaryTitle() { if (!empty($this->options['offset'])) { diff --git a/core/modules/views/src/Plugin/views/pager/Mini.php b/core/modules/views/src/Plugin/views/pager/Mini.php index 72f5d1c387776b74800372dab4f1a538b2fa5ffd..e3eaef25035b20602b870ad74eca123f68c6c60f 100644 --- a/core/modules/views/src/Plugin/views/pager/Mini.php +++ b/core/modules/views/src/Plugin/views/pager/Mini.php @@ -37,7 +37,7 @@ public function defineOptions() { } /** - * Overrides \Drupal\views\Plugin\views\pager\PagerPluginBase::summaryTitle(). + * {@inheritdoc} */ public function summaryTitle() { if (!empty($this->options['offset'])) { @@ -47,7 +47,7 @@ public function summaryTitle() { } /** - * Overrides \Drupal\views\Plugin\views\pager\SqlBase::query(). + * {@inheritdoc} */ public function query() { parent::query(); @@ -64,14 +64,14 @@ public function query() { } /** - * Overrides \Drupal\views\Plugin\views\pager\PagerPluginBase::useCountQuery(). + * {@inheritdoc} */ public function useCountQuery() { return FALSE; } /** - * Overrides \Drupal\views\Plugin\views\pager\PagerPluginBase::postExecute(). + * {@inheritdoc} */ public function postExecute(&$result) { // In query() one more item might have been retrieved than necessary. If so, diff --git a/core/modules/views/src/Plugin/views/pager/None.php b/core/modules/views/src/Plugin/views/pager/None.php index e64107eb9e48162c704661d0ad1cbc769483fc0a..f6c60e46ccccef21a6fca98e1be1b673fe5bcbc0 100644 --- a/core/modules/views/src/Plugin/views/pager/None.php +++ b/core/modules/views/src/Plugin/views/pager/None.php @@ -26,7 +26,7 @@ class None extends PagerPluginBase { /** - * Overrides \Drupal\views\Plugin\views\PluginBase::init(). + * {@inheritdoc} */ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) { parent::init($view, $display, $options); diff --git a/core/modules/views/src/Plugin/views/pager/PagerPluginBase.php b/core/modules/views/src/Plugin/views/pager/PagerPluginBase.php index 68f856752cfca17952c7c9448a960b5162bd3363..ffb9bd1c0550348366cf58f153960105fc1053a2 100644 --- a/core/modules/views/src/Plugin/views/pager/PagerPluginBase.php +++ b/core/modules/views/src/Plugin/views/pager/PagerPluginBase.php @@ -37,7 +37,7 @@ abstract class PagerPluginBase extends PluginBase { var $total_items = 0; /** - * Overrides Drupal\views\Plugin\Plugin::$usesOptions. + * {@inheritdoc} */ protected $usesOptions = TRUE; diff --git a/core/modules/views/src/Plugin/views/query/Sql.php b/core/modules/views/src/Plugin/views/query/Sql.php index c481a8537ccdcecabf3c127323894fbadd86487b..83cd4b46070f41b8038ab70cc27be3b6ea678617 100644 --- a/core/modules/views/src/Plugin/views/query/Sql.php +++ b/core/modules/views/src/Plugin/views/query/Sql.php @@ -112,7 +112,7 @@ class Sql extends QueryPluginBase { protected $noDistinct; /** - * Overrides \Drupal\views\Plugin\views\PluginBase::init(). + * {@inheritdoc} */ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) { parent::init($view, $display, $options); @@ -1687,7 +1687,7 @@ public function aggregationMethodDistinct($group_type, $field) { } /** - * Overrides \Drupal\views\Plugin\views\query\QueryPluginBase::getDateField(). + * {@inheritdoc} */ public function getDateField($field) { $db_type = Database::getConnection()->databaseType(); @@ -1722,7 +1722,7 @@ public function getDateField($field) { } /** - * Overrides \Drupal\views\Plugin\views\query\QueryPluginBase::setupTimezone(). + * {@inheritdoc} */ public function setupTimezone() { $timezone = drupal_get_user_timezone(); diff --git a/core/modules/views/src/Plugin/views/row/EntityReference.php b/core/modules/views/src/Plugin/views/row/EntityReference.php index abed3c2d2467c248971b9c3706873e7b110acd14..9a269d6c504c4ccf981b466bff5479e152880066 100644 --- a/core/modules/views/src/Plugin/views/row/EntityReference.php +++ b/core/modules/views/src/Plugin/views/row/EntityReference.php @@ -26,7 +26,7 @@ class EntityReference extends Fields { /** - * Overrides \Drupal\views\Plugin\views\row\Fields::defineOptions(). + * {@inheritdoc} */ protected function defineOptions() { $options = parent::defineOptions(); @@ -36,7 +36,7 @@ protected function defineOptions() { } /** - * Overrides \Drupal\views\Plugin\views\row\Fields::buildOptionsForm(). + * {@inheritdoc} */ public function buildOptionsForm(&$form, FormStateInterface $form_state) { parent::buildOptionsForm($form, $form_state); diff --git a/core/modules/views/src/Plugin/views/row/EntityRow.php b/core/modules/views/src/Plugin/views/row/EntityRow.php index cb05c36ed2e94d54a6b8a31518eca302d9a2f2ce..74292b54c83742d2fc52a807c7ac3362505fdf47 100644 --- a/core/modules/views/src/Plugin/views/row/EntityRow.php +++ b/core/modules/views/src/Plugin/views/row/EntityRow.php @@ -131,7 +131,7 @@ protected function getView() { } /** - * Overrides Drupal\views\Plugin\views\row\RowPluginBase::defineOptions(). + * {@inheritdoc} */ protected function defineOptions() { $options = parent::defineOptions(); @@ -140,7 +140,7 @@ protected function defineOptions() { } /** - * Overrides Drupal\views\Plugin\views\row\RowPluginBase::buildOptionsForm(). + * {@inheritdoc} */ public function buildOptionsForm(&$form, FormStateInterface $form_state) { parent::buildOptionsForm($form, $form_state); @@ -154,7 +154,7 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) { } /** - * Overrides Drupal\views\Plugin\views\PluginBase::summaryTitle(). + * {@inheritdoc} */ public function summaryTitle() { $options = \Drupal::entityManager()->getViewModeOptions($this->entityTypeId); @@ -185,7 +185,7 @@ public function preRender($result) { } /** - * Overrides Drupal\views\Plugin\views\row\RowPluginBase::render(). + * {@inheritdoc} */ public function render($row) { return $this->getEntityTranslationRenderer()->render($row); diff --git a/core/modules/views/src/Plugin/views/row/RowPluginBase.php b/core/modules/views/src/Plugin/views/row/RowPluginBase.php index 931fd5239c12693892cb4c802726e3c6a8c2b437..e666362c709ee6dfbd12fbaefc8afca6b664fd69 100644 --- a/core/modules/views/src/Plugin/views/row/RowPluginBase.php +++ b/core/modules/views/src/Plugin/views/row/RowPluginBase.php @@ -43,7 +43,7 @@ abstract class RowPluginBase extends PluginBase { /** - * Overrides Drupal\views\Plugin\Plugin::$usesOptions. + * {@inheritdoc} */ protected $usesOptions = TRUE; diff --git a/core/modules/views/src/Plugin/views/sort/GroupByNumeric.php b/core/modules/views/src/Plugin/views/sort/GroupByNumeric.php index 974a91e2056d31893588d27573e81b897ed6e357..ccb3c3d9bef88efecba97e01ae529018566ee5f8 100644 --- a/core/modules/views/src/Plugin/views/sort/GroupByNumeric.php +++ b/core/modules/views/src/Plugin/views/sort/GroupByNumeric.php @@ -19,7 +19,7 @@ class GroupByNumeric extends SortPluginBase { /** - * Overrides \Drupal\views\Plugin\views\HandlerBase::init(). + * {@inheritdoc} */ public function init(ViewExecutable $view, DisplayPluginBase $display, array &$options = NULL) { parent::init($view, $display, $options); diff --git a/core/modules/views/src/Plugin/views/style/EntityReference.php b/core/modules/views/src/Plugin/views/style/EntityReference.php index a66b6b5e90909c36f772a6cff60aba95ae1d6ecb..cdc5750ccbea3bbb7deae4b20322d53742c0a769 100644 --- a/core/modules/views/src/Plugin/views/style/EntityReference.php +++ b/core/modules/views/src/Plugin/views/style/EntityReference.php @@ -27,22 +27,22 @@ class EntityReference extends StylePluginBase { /** - * Overrides \Drupal\views\Plugin\views\style\StylePluginBase::usesRowPlugin. + * {@inheritdoc} */ protected $usesRowPlugin = TRUE; /** - * Overrides \Drupal\views\Plugin\views\style\StylePluginBase::usesFields. + * {@inheritdoc} */ protected $usesFields = TRUE; /** - * Overrides \Drupal\views\Plugin\views\style\StylePluginBase::usesGrouping. + * {@inheritdoc} */ protected $usesGrouping = FALSE; /** - * Overrides \Drupal\views\Plugin\views\style\StylePluginBase\StylePluginBase::defineOptions(). + * {@inheritdoc} */ protected function defineOptions() { $options = parent::defineOptions(); @@ -52,7 +52,7 @@ protected function defineOptions() { } /** - * Overrides \Drupal\views\Plugin\views\style\StylePluginBase\StylePluginBase::buildOptionsForm(). + * {@inheritdoc} */ public function buildOptionsForm(&$form, FormStateInterface $form_state) { parent::buildOptionsForm($form, $form_state); @@ -70,7 +70,7 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) { } /** - * Overrides \Drupal\views\Plugin\views\style\StylePluginBase\StylePluginBase::render(). + * {@inheritdoc} */ public function render() { if (!empty($this->view->live_preview)) { diff --git a/core/modules/views/src/Plugin/views/style/Mapping.php b/core/modules/views/src/Plugin/views/style/Mapping.php index b647ea9a186bdfa9e67133d9def88e30ba3961b8..b23b5779da9211a5e0d4495a01cb157d0f24ed62 100644 --- a/core/modules/views/src/Plugin/views/style/Mapping.php +++ b/core/modules/views/src/Plugin/views/style/Mapping.php @@ -47,7 +47,7 @@ abstract class Mapping extends StylePluginBase { abstract protected function defineMapping(); /** - * Overrides Drupal\views\Plugin\views\style\StylePluginBase::defineOptions(). + * {@inheritdoc} */ protected function defineOptions() { $options = parent::defineOptions(); @@ -69,7 +69,7 @@ protected function defineOptions() { } /** - * Overrides Drupal\views\Plugin\views\style\StylePluginBase::buildOptionsForm(). + * {@inheritdoc} */ public function buildOptionsForm(&$form, FormStateInterface $form_state) { parent::buildOptionsForm($form, $form_state); diff --git a/core/modules/views/src/Plugin/views/style/StylePluginBase.php b/core/modules/views/src/Plugin/views/style/StylePluginBase.php index 8614de1be51d3ccb257127d1d165f14e5b7b9fb9..e4d0f571f43e269b8a3d0271d163d919772d1347 100644 --- a/core/modules/views/src/Plugin/views/style/StylePluginBase.php +++ b/core/modules/views/src/Plugin/views/style/StylePluginBase.php @@ -46,7 +46,7 @@ abstract class StylePluginBase extends PluginBase { /** - * Overrides Drupal\views\Plugin\Plugin::$usesOptions. + * {@inheritdoc} */ protected $usesOptions = TRUE; diff --git a/core/modules/views/src/Tests/Handler/ArgumentDateTest.php b/core/modules/views/src/Tests/Handler/ArgumentDateTest.php index 678698f121a9967a60257ff55eb55f076580cc88..d0939b16bf5f48a67e11454cfcb88e398dc3c7c2 100644 --- a/core/modules/views/src/Tests/Handler/ArgumentDateTest.php +++ b/core/modules/views/src/Tests/Handler/ArgumentDateTest.php @@ -35,7 +35,7 @@ class ArgumentDateTest extends ViewKernelTestBase { ); /** - * Overrides \Drupal\views\Tests\ViewKernelTestBase::viewsData(). + * {@inheritdoc} */ public function viewsData() { $data = parent::viewsData(); diff --git a/core/modules/views/src/Tests/Handler/FieldKernelTest.php b/core/modules/views/src/Tests/Handler/FieldKernelTest.php index cbf65efc4ec2344af106d7641fd83f219e958aec..815b1ec02eecdedfcb3b0a73e7e2d01e034c11f9 100644 --- a/core/modules/views/src/Tests/Handler/FieldKernelTest.php +++ b/core/modules/views/src/Tests/Handler/FieldKernelTest.php @@ -39,7 +39,7 @@ class FieldKernelTest extends ViewKernelTestBase { ); /** - * Overrides Drupal\views\Tests\ViewTestBase::viewsData(). + * {@inheritdoc} */ protected function viewsData() { $data = parent::viewsData(); diff --git a/core/modules/views/src/Tests/Handler/FieldWebTest.php b/core/modules/views/src/Tests/Handler/FieldWebTest.php index ddc9b50e5c99d9c25949dac315c8dc60bc452c3c..2d43a101d42001240cc7d45bfea0110a0ca1a688 100644 --- a/core/modules/views/src/Tests/Handler/FieldWebTest.php +++ b/core/modules/views/src/Tests/Handler/FieldWebTest.php @@ -53,7 +53,7 @@ protected function setUp() { } /** - * Overrides \Drupal\views\Tests\ViewTestBase::viewsData(). + * {@inheritdoc} */ protected function viewsData() { $data = parent::viewsData(); diff --git a/core/modules/views/src/Tests/Handler/HandlerAliasTest.php b/core/modules/views/src/Tests/Handler/HandlerAliasTest.php index fdbe9ad6ac3a422be731ac69eaebc4406be27f00..3a229a6add991cb550ce8bfc5fe448aa719b094a 100644 --- a/core/modules/views/src/Tests/Handler/HandlerAliasTest.php +++ b/core/modules/views/src/Tests/Handler/HandlerAliasTest.php @@ -33,7 +33,7 @@ protected function setUp() { } /** - * Overrides Drupal\views\Tests\ViewTestBase::viewsData(). + * {@inheritdoc} */ protected function viewsData() { $data = parent::viewsData(); diff --git a/core/modules/views/src/Tests/Handler/HandlerTest.php b/core/modules/views/src/Tests/Handler/HandlerTest.php index f084f90572a6e7317323f9e2d8d109a889da71a2..6507e2315bd4eb5a1b3bd394e82129df883e49a4 100644 --- a/core/modules/views/src/Tests/Handler/HandlerTest.php +++ b/core/modules/views/src/Tests/Handler/HandlerTest.php @@ -45,7 +45,7 @@ protected function setUp() { } /** - * Overrides Drupal\views\Tests\ViewTestBase::viewsData(). + * {@inheritdoc} */ protected function viewsData() { $data = parent::viewsData(); diff --git a/core/modules/views/src/Tests/Plugin/FilterTest.php b/core/modules/views/src/Tests/Plugin/FilterTest.php index 721b3fa33833d4cf67b3153bfc9603334162c585..a463fe4d43929670904dd41dc0cc1a1d3722b7c7 100644 --- a/core/modules/views/src/Tests/Plugin/FilterTest.php +++ b/core/modules/views/src/Tests/Plugin/FilterTest.php @@ -39,7 +39,7 @@ protected function setUp() { } /** - * Overrides Drupal\views\Tests\ViewTestBase::viewsData(). + * {@inheritdoc} */ protected function viewsData() { $data = parent::viewsData(); diff --git a/core/modules/views/src/Tests/Plugin/RelationshipJoinTestBase.php b/core/modules/views/src/Tests/Plugin/RelationshipJoinTestBase.php index 7e317f2755ba65351f17f7506d7eaf2e58d8f888..d57fa27b0e4789aa6a9aa2a442caccea9ba329a0 100644 --- a/core/modules/views/src/Tests/Plugin/RelationshipJoinTestBase.php +++ b/core/modules/views/src/Tests/Plugin/RelationshipJoinTestBase.php @@ -30,7 +30,7 @@ abstract class RelationshipJoinTestBase extends PluginKernelTestBase { protected $rootUser; /** - * Overrides \Drupal\views\Tests\ViewKernelTestBase::setUpFixtures(). + * {@inheritdoc} */ protected function setUpFixtures() { $this->installEntitySchema('user'); diff --git a/core/modules/views/src/Tests/Plugin/ViewsSqlExceptionTest.php b/core/modules/views/src/Tests/Plugin/ViewsSqlExceptionTest.php index aded8383e0b015c630fee86f2c6947aff2e75b08..02d581f0d60bc1135ecf78edd0a0ebb39bd95b6e 100644 --- a/core/modules/views/src/Tests/Plugin/ViewsSqlExceptionTest.php +++ b/core/modules/views/src/Tests/Plugin/ViewsSqlExceptionTest.php @@ -34,7 +34,7 @@ protected function setUp() { } /** - * Overrides Drupal\views\Tests\ViewTestBase::viewsData(). + * {@inheritdoc} */ protected function viewsData() { $data = parent::viewsData(); diff --git a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/area/TestExample.php b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/area/TestExample.php index 1afb7d4d5b6d5aeb53d0bf363954ba01c864a159..4efe7da955f23f1cea1b841c880ed33b86049939 100644 --- a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/area/TestExample.php +++ b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/area/TestExample.php @@ -28,7 +28,7 @@ public function access(AccountInterface $account) { } /** - * Overrides Drupal\views\Plugin\views\area\AreaPluginBase::option_definition(). + * {@inheritdoc} */ public function defineOptions() { $options = parent::defineOptions(); @@ -39,7 +39,7 @@ public function defineOptions() { } /** - * Overrides Drupal\views\Plugin\views\area\AreaPluginBase::buildOptionsForm() + * {@inheritdoc} */ public function buildOptionsForm(&$form, FormStateInterface $form_state) { parent::buildOptionsForm($form, $form_state); @@ -47,7 +47,7 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) { } /** - * Implements \Drupal\views\Plugin\views\area\AreaPluginBase::render(). + * {@inheritdoc} */ public function render($empty = FALSE) { if (!$empty || !empty($this->options['empty'])) { diff --git a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/argument_default/ArgumentDefaultTest.php b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/argument_default/ArgumentDefaultTest.php index 96a7175ba010d681a62db5444c72e7dff362e2f2..0ae8fffbbcc688271052c4251c4abd859a661c5b 100644 --- a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/argument_default/ArgumentDefaultTest.php +++ b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/argument_default/ArgumentDefaultTest.php @@ -20,7 +20,7 @@ class ArgumentDefaultTest extends ArgumentDefaultPluginBase { /** - * Overrides Drupal\views\Plugin\views\argument_default\ArgumentDefaultPluginBase::defineOptions(). + * {@inheritdoc} */ protected function defineOptions() { $options = parent::defineOptions(); diff --git a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/display/DisplayTest.php b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/display/DisplayTest.php index 92db1d85e1663f8c81daf62a8266a2bf90fc318e..5e0709664b36be5f58819bf66b4e27b1b87b738d 100644 --- a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/display/DisplayTest.php +++ b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/display/DisplayTest.php @@ -33,15 +33,14 @@ class DisplayTest extends DisplayPluginBase { protected $usesAttachments = TRUE; /** - * Overrides \Drupal\views\Plugin\views\display\DisplayPluginBase::getType(). + * {@inheritdoc} */ public function getType() { return 'test'; } /** - * Overrides - * Drupal\views\Plugin\views\display\DisplayPluginBase::defineOptions(). + * {@inheritdoc} */ protected function defineOptions() { $options = parent::defineOptions(); diff --git a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/display_extender/DisplayExtenderTest.php b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/display_extender/DisplayExtenderTest.php index 44818265c9e9cec8055cb19e7bee2668f631db4b..858600b34f37963aff6dc9f634b5e78a49465534 100644 --- a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/display_extender/DisplayExtenderTest.php +++ b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/display_extender/DisplayExtenderTest.php @@ -39,7 +39,7 @@ protected function defineOptions() { } /** - * Overrides Drupal\views\Plugin\views\display\DisplayPluginBase::optionsSummary(). + * {@inheritdoc} */ public function optionsSummary(&$categories, &$options) { parent::optionsSummary($categories, $options); @@ -60,7 +60,7 @@ public function optionsSummary(&$categories, &$options) { } /** - * Overrides Drupal\views\Plugin\views\display_extender\DisplayExtenderPluginBase::buildOptionsForm(). + * {@inheritdoc} */ public function buildOptionsForm(&$form, FormStateInterface $form_state) { switch ($form_state->get('section')) { @@ -76,7 +76,7 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) { } /** - * Overrides Drupal\views\Plugin\views\display\DisplayExtenderPluginBase::submitOptionsForm(). + * {@inheritdoc} */ public function submitOptionsForm(&$form, FormStateInterface $form_state) { parent::submitOptionsForm($form, $form_state); @@ -88,21 +88,21 @@ public function submitOptionsForm(&$form, FormStateInterface $form_state) { } /** - * Overrides Drupal\views\Plugin\views\display\DisplayExtenderPluginBase::defaultableSections(). + * {@inheritdoc} */ public function defaultableSections(&$sections, $section = NULL) { $sections['test_extender_test_option'] = array('test_extender_test_option'); } /** - * Overrides Drupal\views\Plugin\views\display\DisplayExtenderPluginBase::query(). + * {@inheritdoc} */ public function query() { $this->testState['query'] = TRUE; } /** - * Overrides Drupal\views\Plugin\views\display\DisplayExtenderPluginBase::preExecute(). + * {@inheritdoc} */ public function preExecute() { $this->testState['preExecute'] = TRUE; diff --git a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/field/FieldTest.php b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/field/FieldTest.php index 5da095a28954d258d7d65db1cf3d0cf0227aaaa2..1b1ba54b85fbfff29e553b01cacd517bc5f130a7 100644 --- a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/field/FieldTest.php +++ b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/field/FieldTest.php @@ -43,7 +43,7 @@ public function getTestValue() { } /** - * Overrides Drupal\views\Plugin\views\field\FieldPluginBase::addSelfTokens(). + * {@inheritdoc} */ protected function addSelfTokens(&$tokens, $item) { $tokens['{{ test_token }}'] = $this->getTestValue(); diff --git a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/filter/FilterTest.php b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/filter/FilterTest.php index aa141a33dfccf0ffee2f76b8ecfa16c08e6a7085..219b3ff4942aba6ba88d564ee57ccd13b771cb9b 100644 --- a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/filter/FilterTest.php +++ b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/filter/FilterTest.php @@ -43,7 +43,7 @@ public function buildOptionsForm(&$form, FormStateInterface $form_state) { } /** - * Overrides Drupal\views\Plugin\views\filter\FilterPluginBase::query(). + * {@inheritdoc} */ public function query() { // Call the parent if this option is enabled. diff --git a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/join/JoinTest.php b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/join/JoinTest.php index 7298c35f4de8a585ca68c80dfa02b777e23ca3fc..27f5e32c5b7ab3541dde0656565449d7cb7fcfeb 100644 --- a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/join/JoinTest.php +++ b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/join/JoinTest.php @@ -42,7 +42,7 @@ public function setJoinValue($join_value) { /** - * Overrides Drupal\views\Plugin\views\join\JoinPluginBase::buildJoin(). + * {@inheritdoc} */ public function buildJoin($select_query, $table, $view_query) { // Add an additional hardcoded condition to the query. diff --git a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/query/QueryTest.php b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/query/QueryTest.php index c8bac3145793f22ec3df3149c59960b81ab3dc58..ec496fbf3daab9216bd3a935a10dccc616c93401 100644 --- a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/query/QueryTest.php +++ b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/query/QueryTest.php @@ -29,7 +29,7 @@ class QueryTest extends QueryPluginBase { protected $orderBy = array(); /** - * Implements \Drupal\views\Plugin\views\query\QueryPluginBase::defineOptions(). + * {@inheritdoc} */ protected function defineOptions() { $options = parent::defineOptions(); @@ -39,7 +39,7 @@ protected function defineOptions() { } /** - * Implements \Drupal\views\Plugin\views\query\QueryPluginBase::buildOptionsForm(). + * {@inheritdoc} */ public function buildOptionsForm(&$form, FormStateInterface $form_state) { parent::buildOptionsForm($form, $form_state); @@ -98,7 +98,7 @@ public function build(ViewExecutable $view) { } /** - * Implements Drupal\views\Plugin\views\query\QueryPluginBase::execute(). + * {@inheritdoc} */ public function execute(ViewExecutable $view) { $result = array(); diff --git a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/row/RowTest.php b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/row/RowTest.php index 64a0041d331fa4e1b626b59f2a8ee172c9ec29f8..19d76e6d5cd683937f030443d494820a3a804517 100644 --- a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/row/RowTest.php +++ b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/row/RowTest.php @@ -33,7 +33,7 @@ class RowTest extends RowPluginBase { public $output; /** - * Overrides Drupal\views\Plugin\views\row\RowPluginBase::defineOptions(). + * {@inheritdoc} */ protected function defineOptions() { $options = parent::defineOptions(); @@ -43,7 +43,7 @@ protected function defineOptions() { } /** - * Overrides Drupal\views\Plugin\views\row\RowPluginBase::buildOptionsForm(). + * {@inheritdoc} */ public function buildOptionsForm(&$form, FormStateInterface $form_state) { parent::buildOptionsForm($form, $form_state); @@ -76,7 +76,7 @@ public function getOutput() { } /** - * Overrides Drupal\views\Plugin\views\row\RowPluginBase::render() + * {@inheritdoc} */ public function render($row) { return $this->getOutput(); diff --git a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/style/MappingTest.php b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/style/MappingTest.php index 076ca5b9e9afe5fd8afb405a3a3f903bdf9479a7..3bbe6f72bd71ea88a19d113b4949c6342efc0b24 100644 --- a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/style/MappingTest.php +++ b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/style/MappingTest.php @@ -26,7 +26,7 @@ class MappingTest extends Mapping { /** - * Overrides Drupal\views\Plugin\views\style\Mapping::defineMapping(). + * {@inheritdoc} */ protected function defineMapping() { return array( diff --git a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/style/StyleTest.php b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/style/StyleTest.php index 4323f51a4aac34ec36f3b7f62657ed59a78c8f81..304c010fdce19384de5bf17b3254b9f805bfaa4d 100644 --- a/core/modules/views/tests/modules/views_test_data/src/Plugin/views/style/StyleTest.php +++ b/core/modules/views/tests/modules/views_test_data/src/Plugin/views/style/StyleTest.php @@ -41,7 +41,7 @@ class StyleTest extends StylePluginBase { protected $usesRowPlugin = TRUE; /** - * Overrides Drupal\views\Plugin\views\style\StylePluginBase::defineOptions(). + * {@inheritdoc} */ protected function defineOptions() { $options = parent::defineOptions(); @@ -51,7 +51,7 @@ protected function defineOptions() { } /** - * Overrides Drupal\views\Plugin\views\style\StylePluginBase::buildOptionsForm(). + * {@inheritdoc} */ public function buildOptionsForm(&$form, FormStateInterface $form_state) { parent::buildOptionsForm($form, $form_state); @@ -94,7 +94,7 @@ public function getOutput() { } /** - * Overrides Drupal\views\Plugin\views\style\StylePluginBase::render() + * {@inheritdoc} */ public function render() { $output = ''; diff --git a/core/modules/views_ui/src/Tests/CustomBooleanTest.php b/core/modules/views_ui/src/Tests/CustomBooleanTest.php index b0ba60a1c596a410604fef63ea6c87987ad30843..667cb1c9cc863b94f2a1e6bb75128b9c2660d738 100644 --- a/core/modules/views_ui/src/Tests/CustomBooleanTest.php +++ b/core/modules/views_ui/src/Tests/CustomBooleanTest.php @@ -35,7 +35,7 @@ public function viewsData() { } /** - * Overrides \Drupal\views\Tests\ViewTestBase::dataSet(). + * {@inheritdoc} */ public function dataSet() { $data = parent::dataSet(); diff --git a/core/modules/views_ui/src/Tests/QueryTest.php b/core/modules/views_ui/src/Tests/QueryTest.php index cda040c960f728f8750906726bd6a78fd85df383..ffd910b907d5d8c1f64b046f41feccf0b7fcaf9c 100644 --- a/core/modules/views_ui/src/Tests/QueryTest.php +++ b/core/modules/views_ui/src/Tests/QueryTest.php @@ -25,7 +25,7 @@ class QueryTest extends UITestBase { public static $testViews = array('test_view'); /** - * Overrides \Drupal\views\Tests\ViewTestBase::viewsData(). + * {@inheritdoc} */ protected function viewsData() { $data = parent::viewsData(); diff --git a/core/modules/views_ui/src/ViewUI.php b/core/modules/views_ui/src/ViewUI.php index 75c54731ec0985d664890878399ca5fafd4c26d1..47b8e88fe351ee3e48aeb90fdb9253d7d964942b 100644 --- a/core/modules/views_ui/src/ViewUI.php +++ b/core/modules/views_ui/src/ViewUI.php @@ -167,7 +167,7 @@ public function __construct(ViewEntityInterface $storage) { } /** - * Overrides \Drupal\Core\Config\Entity\ConfigEntityBase::get(). + * {@inheritdoc} */ public function get($property_name, $langcode = NULL) { if (property_exists($this->storage, $property_name)) { @@ -178,14 +178,14 @@ public function get($property_name, $langcode = NULL) { } /** - * Implements \Drupal\Core\Config\Entity\ConfigEntityInterface::setStatus(). + * {@inheritdoc} */ public function setStatus($status) { return $this->storage->setStatus($status); } /** - * Overrides \Drupal\Core\Config\Entity\ConfigEntityBase::set(). + * {@inheritdoc} */ public function set($property_name, $value, $notify = TRUE) { if (property_exists($this->storage, $property_name)) { @@ -941,21 +941,21 @@ public function &getDisplay($display_id) { } /** - * Implements \Drupal\Core\Entity\EntityInterface::id(). + * {@inheritdoc} */ public function id() { return $this->storage->id(); } /** - * Implements \Drupal\Core\Entity\EntityInterface::uuid(). + * {@inheritdoc} */ public function uuid() { return $this->storage->uuid(); } /** - * Implements \Drupal\Core\Entity\EntityInterface::isNew(). + * {@inheritdoc} */ public function isNew() { return $this->storage->isNew(); @@ -969,7 +969,7 @@ public function getEntityTypeId() { } /** - * Implements \Drupal\Core\Entity\EntityInterface::bundle(). + * {@inheritdoc} */ public function bundle() { return $this->storage->bundle(); @@ -983,7 +983,7 @@ public function getEntityType() { } /** - * Implements \Drupal\Core\Entity\EntityInterface::createDuplicate(). + * {@inheritdoc} */ public function createDuplicate() { return $this->storage->createDuplicate(); @@ -1011,21 +1011,21 @@ public static function create(array $values = array()) { } /** - * Implements \Drupal\Core\Entity\EntityInterface::delete(). + * {@inheritdoc} */ public function delete() { return $this->storage->delete(); } /** - * Implements \Drupal\Core\Entity\EntityInterface::save(). + * {@inheritdoc} */ public function save() { return $this->storage->save(); } /** - * Implements \Drupal\Core\Entity\EntityInterface::uri(). + * {@inheritdoc} */ public function urlInfo($rel = 'edit-form', array $options = []) { return $this->storage->urlInfo($rel, $options); @@ -1039,14 +1039,14 @@ public function link($text = NULL, $rel = 'edit-form', array $options = []) { } /** - * Implements \Drupal\Core\Entity\EntityInterface::label(). + * {@inheritdoc} */ public function label() { return $this->storage->label(); } /** - * Implements \Drupal\Core\Entity\EntityInterface::enforceIsNew(). + * {@inheritdoc} */ public function enforceIsNew($value = TRUE) { return $this->storage->enforceIsNew($value); @@ -1074,21 +1074,21 @@ public function access($operation = 'view', AccountInterface $account = NULL, $r } /** - * Implements \Drupal\Core\Config\Entity\ConfigEntityInterface::enable(). + * {@inheritdoc} */ public function enable() { return $this->storage->enable(); } /** - * Implements \Drupal\Core\Config\Entity\ConfigEntityInterface::disable(). + * {@inheritdoc} */ public function disable() { return $this->storage->disable(); } /** - * Implements \Drupal\Core\Config\Entity\ConfigEntityInterface::status(). + * {@inheritdoc} */ public function status() { return $this->storage->status();