Commit 15eeb96d authored by webchick's avatar webchick

Issue #1594496 by aspilicious, Niklas Fiekas: Fixed Entity PSR-0 documentation issues.

parent 371aee26
......@@ -113,7 +113,7 @@ function testBook() {
/**
* Check the outline of sub-pages; previous, up, and next; and printer friendly version.
*
* @param Node $node
* @param Drupal\node\Node $node
* Node to check.
* @param $nodes
* Nodes that should be in outline.
......
......@@ -2,7 +2,7 @@
/**
* @file
* Entity class for comments.
* Definition of Drupal\comment\Comment.
*/
namespace Drupal\comment;
......
......@@ -2,7 +2,7 @@
/**
* @file
* Entity controller class for comments.
* Definition of Drupal\comment\CommentStorageController.
*/
namespace Drupal\comment;
......
......@@ -28,7 +28,7 @@ function setUp() {
/**
* Posts a comment.
*
* @param Node|NULL $node
* @param Drupal\node\Node|null $node
* Node to post comment on or NULL to post to the previusly loaded page.
* @param $comment
* Comment body.
......
......@@ -276,7 +276,7 @@ protected function buildQuery($ids, $conditions = array(), $revision_id = FALSE)
* hook_node_load() or hook_user_load(). If your hook_TYPE_load()
* expects special parameters apart from the queried entities, you can set
* $this->hookLoadArguments prior to calling the method.
* See NodeController::attachLoad() for an example.
* See Drupal\node\NodeStorageController::attachLoad() for an example.
*
* @param $queried_entities
* Associative array of query results, keyed on the entity ID.
......
......@@ -615,7 +615,7 @@ class FieldUIManageDisplayTestCase extends FieldUITestCase {
/**
* Asserts that a string is found in the rendered node in a view mode.
*
* @param Node $node
* @param Drupal\node\Node $node
* The node.
* @param $view_mode
* The view mode in which the node should be displayed.
......@@ -634,7 +634,7 @@ class FieldUIManageDisplayTestCase extends FieldUITestCase {
/**
* Asserts that a string is not found in the rendered node in a view mode.
*
* @param Node $node
* @param Drupal\node\Node $node
* The node.
* @param $view_mode
* The view mode in which the node should be displayed.
......@@ -655,7 +655,7 @@ class FieldUIManageDisplayTestCase extends FieldUITestCase {
* This helper function is used by assertNodeViewText() and
* assertNodeViewNoText().
*
* @param Node $node
* @param Drupal\node\Node $node
* The node.
* @param $view_mode
* The view mode in which the node should be displayed.
......
......@@ -498,7 +498,7 @@ function createForumTopic($forum, $container = FALSE) {
*
* @param $node_user
* The user who creates the node.
* @param Node $node
* @param Drupal\node\Node $node
* The node being checked.
* @param $admin
* Boolean to indicate whether the user can 'access administration pages'.
......
......@@ -2,7 +2,7 @@
/**
* @file
* Entity class for nodes.
* Definition of Drupal\node\Node.
*/
namespace Drupal\node;
......
......@@ -2,7 +2,7 @@
/**
* @file
* Entity controller class for nodes.
* Definition of Drupal\node\NodeStorageController.
*/
namespace Drupal\node;
......
......@@ -625,7 +625,7 @@ class RdfTrackerAttributesTestCase extends WebTestBase {
*
* Tests the tracker page for RDFa markup.
*
* @param Node $node
* @param Drupal\node\Node $node
* The node just created.
*/
function _testBasicTrackerRdfaMarkup(Node $node) {
......
......@@ -2,7 +2,7 @@
/**
* @file
* Definition of Term.
* Definition of Drupal\taxonomy\Term.
*/
namespace Drupal\taxonomy;
......
......@@ -2,7 +2,7 @@
/**
* @file
* Definition of TermStorageController.
* Definition of Drupal\taxonomy\TermStorageController.
*/
namespace Drupal\taxonomy;
......
......@@ -2,7 +2,7 @@
/**
* @file
* Definition of Vocabulary.
* Definition of Drupal\taxonomy\Vocabulary.
*/
namespace Drupal\taxonomy;
......
......@@ -329,7 +329,7 @@ function createPage($title, $body, $langcode = NULL) {
/**
* Creates a translation for a basic page in the specified language.
*
* @param Node $node
* @param Drupal\node\Node $node
* The basic page to create the translation for.
* @param $title
* The title of a basic page in the specified language.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment