diff --git a/core/modules/node/src/NodePermissions.php b/core/modules/node/src/NodePermissions.php index 2c1a321..6deb950 100644 --- a/core/modules/node/src/NodePermissions.php +++ b/core/modules/node/src/NodePermissions.php @@ -39,6 +39,7 @@ public function contentPermissions() { * * @return array * The node type permissions. + * @see \Drupal\user\PermissionHandlerInterface::getPermissions(). */ public function nodeTypePermissions() { $perms = array(); diff --git a/core/modules/node/src/Plugin/views/wizard/Node.php b/core/modules/node/src/Plugin/views/wizard/Node.php index 0c7c7a4..b897421 100644 --- a/core/modules/node/src/Plugin/views/wizard/Node.php +++ b/core/modules/node/src/Plugin/views/wizard/Node.php @@ -48,7 +48,8 @@ class Node extends WizardPluginBase { * Overrides Drupal\views\Plugin\views\wizard\WizardPluginBase::getAvailableSorts(). * * @return array - * The available sorts. + * An array whose keys are the available sort options and whose + * corresponding values are human readble labels. */ public function getAvailableSorts() { // You can't execute functions in properties, so override the method diff --git a/core/modules/node/src/Tests/NodeCreationTest.php b/core/modules/node/src/Tests/NodeCreationTest.php index b02b7d7..3d48fe0 100644 --- a/core/modules/node/src/Tests/NodeCreationTest.php +++ b/core/modules/node/src/Tests/NodeCreationTest.php @@ -190,10 +190,11 @@ function testNodeAddWithoutContentTypes () { } /** - * Gets the log records with the rollback exception message. + * Gets the wids of the log records with the rollback exception message. * - * @return array - * The log records with the rollback exception message. + * @return int[] + * Array containing the wid of the log recoards with the the rollback + * exception message. */ protected static function getWatchdogIdsForTestExceptionRollback() { // PostgreSQL doesn't support bytea LIKE queries, so we need to unserialize diff --git a/core/modules/node/src/Tests/NodeTestBase.php b/core/modules/node/src/Tests/NodeTestBase.php index 5ad77ff..fa63780 100644 --- a/core/modules/node/src/Tests/NodeTestBase.php +++ b/core/modules/node/src/Tests/NodeTestBase.php @@ -92,7 +92,7 @@ function assertNodeCreateAccess($bundle, $result, AccountInterface $account, $la } /** - * Constructs an assert message for checking node access. + * Constructs an assert message to display which node access was done. * * @param string $operation * The operation to check access for. @@ -103,7 +103,8 @@ function assertNodeCreateAccess($bundle, $result, AccountInterface $account, $la * to check. If NULL, the untranslated (fallback) access is checked. * * @return string - * Assert message for checking node access. + * Assert message string which contains information in plain english about + * which node access permission test was performed. */ function nodeAccessAssertMessage($operation, $result, $langcode = NULL) { return format_string(