class Nid

Same name in other branches
  1. 9 core/modules/node/src/Plugin/views/argument/Nid.php \Drupal\node\Plugin\views\argument\Nid
  2. 8.9.x core/modules/node/src/Plugin/views/argument/Nid.php \Drupal\node\Plugin\views\argument\Nid
  3. 11.x core/modules/node/src/Plugin/views/argument/Nid.php \Drupal\node\Plugin\views\argument\Nid

Argument handler to accept a node id.

Hierarchy

Expanded class hierarchy of Nid

379 string references to 'Nid'
ArgumentStringTest::testGlossary in core/modules/views/tests/src/Kernel/Handler/ArgumentStringTest.php
Tests the glossary feature.
ArgumentUidRevisionTest::testArgument in core/modules/node/tests/src/Kernel/Views/ArgumentUidRevisionTest.php
Tests the node_uid_revision argument.
book.views.schema.yml in core/modules/book/config/schema/book.views.schema.yml
core/modules/book/config/schema/book.views.schema.yml
Book::query in core/modules/book/src/Plugin/migrate/source/Book.php
BookAdminEditForm::bookAdminTableTree in core/modules/book/src/Form/BookAdminEditForm.php
Helps build the main table in the book administration page form.

... See full list

File

core/modules/node/src/Plugin/views/argument/Nid.php, line 11

Namespace

Drupal\node\Plugin\views\argument
View source
class Nid extends EntityArgument {

}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.