Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

Classes, traits, and interfaces - Drupal 11.1.x - Drupal Core

Primary tabs

  • Drupal 11.1.x

Introduction to classes

A lot of the PHP code in Drupal is object oriented (OO), making use of PHP classes, interfaces, and traits. See the Objected-oriented programming conventions for more information.

See also

Objected-oriented programming conventions

File

core/core.api.php, line 1518

Name Deprecated Object type Namespace File name Summary Direct uses Use statements Strings
Node class Drupal\node\Plugin\views\wizard core/modules/node/src/Plugin/views/wizard/Node.php Tests creating node views with the wizard.
Node abstract class SebastianBergmann\CodeCoverage\Report\Xml vendor/phpunit/php-code-coverage/src/Report/Xml/Node.php @internal This class is not covered by the backward compatibility promise for phpunit/php-code-coverage 2
Node class Drupal\node\Plugin\views\argument_default core/modules/node/src/Plugin/views/argument_default/Node.php Default argument plugin to extract a node.
Node abstract class Peast\Syntax\Node vendor/mck89/peast/lib/Peast/Syntax/Node/Node.php Base class for all the nodes generated by Peast. 75 19
Node class Twig\Node vendor/twig/twig/src/Node/Node.php Represents a node in the AST. 30 66
Node class Drupal\node\Plugin\migrate\source\d6 core/modules/node/src/Plugin/migrate/source/d6/Node.php Drupal 6 node source from database. 1
Node interface PhpParser vendor/nikic/php-parser/lib/PhpParser/Node.php 2 148
Node interface PHPStan\PhpDocParser\Ast vendor/phpstan/phpdoc-parser/src/Ast/Node.php 12 18
Node class Drupal\node\Plugin\migrate\source\d7 core/modules/node/src/Plugin/migrate/source/d7/Node.php Drupal 7 node source from database. 1
Node class Drupal\node\Entity core/modules/node/src/Entity/Node.php Defines the node entity class. 4
NodeAbstract abstract class PhpParser vendor/nikic/php-parser/lib/PhpParser/NodeAbstract.php 20 23
NodeAccessControlHandler class Drupal\node core/modules/node/src/NodeAccessControlHandler.php Defines the access control handler for the node entity type. 1
NodeAccessControlHandlerInterface interface Drupal\node core/modules/node/src/NodeAccessControlHandlerInterface.php Node specific entity access control methods. 1
NodeAccessGrantsCacheContext class Drupal\node\Cache core/modules/node/src/Cache/NodeAccessGrantsCacheContext.php Defines the node access view cache context service. 2
NodeAdminRouteSubscriber class Drupal\node\EventSubscriber core/modules/node/src/EventSubscriber/NodeAdminRouteSubscriber.php Sets the _admin_route for specific node-related routes. 2
NodeAttributes trait PHPStan\PhpDocParser\Ast vendor/phpstan/phpdoc-parser/src/Ast/NodeAttributes.php 67
NodeBulkForm class Drupal\node\Plugin\views\field core/modules/node/src/Plugin/views/field/NodeBulkForm.php Defines a node operations bulk form element.
NodeCaptureInterface interface Twig\Node vendor/twig/twig/src/Node/NodeCaptureInterface.php Represents a node that captures any nested displayable nodes. 1 1
NodeComment class Drupal\comment\Plugin\views\filter core/modules/comment/src/Plugin/views/filter/NodeComment.php Filter based on comment node status.
NodeComplete class Drupal\node\Plugin\migrate\source\d6 core/modules/node/src/Plugin/migrate/source/d6/NodeComplete.php Drupal 6 all node revisions source, including translation revisions.
NodeComplete class Drupal\node\Plugin\migrate\source\d7 core/modules/node/src/Plugin/migrate/source/d7/NodeComplete.php Drupal 7 all node revisions source, including translation revisions.
NodeCompleteNodeLookup class Drupal\migrate_drupal\Plugin\migrate\process core/modules/migrate_drupal/src/Plugin/migrate/process/NodeCompleteNodeLookup.php Returns only the nid from migration_lookup on node_complete migration.
NodeCompleteNodeRevisionLookup class Drupal\migrate_drupal\Plugin\migrate\process core/modules/migrate_drupal/src/Plugin/migrate/process/NodeCompleteNodeRevisionLookup.php Returns only the vid from migration_lookup on node_complete migration.
NodeCompleteNodeTranslationLookup class Drupal\migrate_drupal\Plugin\migrate\process core/modules/migrate_drupal/src/Plugin/migrate/process/NodeCompleteNodeTranslationLookup.php Returns nid and langcode from migration_lookup on node_complete migration.
NodeConnectingVisitor final class PhpParser\NodeVisitor vendor/nikic/php-parser/lib/PhpParser/NodeVisitor/NodeConnectingVisitor.php Visitor that connects a child node to its parent node as well as its sibling nodes.
NodeController class Drupal\node\Controller core/modules/node/src/Controller/NodeController.php Returns responses for Node routes.
NodeDeleteForm class Drupal\node\Form core/modules/node/src/Form/NodeDeleteForm.php Provides a form for deleting a node. 1
NodeDumper class PhpParser vendor/nikic/php-parser/lib/PhpParser/NodeDumper.php
NodeElement class Behat\Mink\Element vendor/behat/mink/src/Element/NodeElement.php Page element node. 3
NodeEntityTranslation class Drupal\node\Plugin\migrate\source\d7 core/modules/node/src/Plugin/migrate/source/d7/NodeEntityTranslation.php Drupal 7 node entity translations source from database.
NodeException class Ramsey\Uuid\Exception vendor/ramsey/uuid/src/Exception/NodeException.php Thrown to indicate that attempting to fetch or create a node ID encountered an error 2
NodeExtension class Symfony\Component\CssSelector\XPath\Extension vendor/symfony/css-selector/XPath/Extension/NodeExtension.php XPath expression translator node extension.
NoDefaultTestSuiteException final class PHPUnit\TextUI\Configuration vendor/phpunit/phpunit/src/TextUI/Configuration/Exception/NoDefaultTestSuiteException.php @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
NodeFinder class PhpParser vendor/nikic/php-parser/lib/PhpParser/NodeFinder.php
NodeForm class Drupal\node core/modules/node/src/NodeForm.php Form handler for the node edit forms. 1
NodeGrantDatabaseStorage class Drupal\node core/modules/node/src/NodeGrantDatabaseStorage.php Defines a storage handler class that handles the node grants system. 2
NodeGrantDatabaseStorageInterface interface Drupal\node core/modules/node/src/NodeGrantDatabaseStorageInterface.php Provides an interface for node access grant storage. 1
NodeHooks class Drupal\node\Hook core/modules/node/src/Hook/NodeHooks.php Hook implementations for the node module.
NodeHooks1 class Drupal\node\Hook core/modules/node/src/Hook/NodeHooks1.php Hook implementations for node.
NodeInterface interface Drupal\node core/modules/node/src/NodeInterface.php Provides an interface defining a node entity. 1 24
NodeInterface interface Symfony\Component\CssSelector\Node vendor/symfony/css-selector/Node/NodeInterface.php Interface for nodes. 1 1
NodeListBuilder class Drupal\node core/modules/node/src/NodeListBuilder.php Defines a class to build a listing of node entities. 1 2
NodeMigrateType final class Drupal\migrate_drupal core/modules/migrate_drupal/src/NodeMigrateType.php Provides a class to determine the type of migration. 1
NodeModerationHandler class Drupal\content_moderation\Entity\Handler core/modules/content_moderation/src/Entity/Handler/NodeModerationHandler.php Customizations for node entities. 1
NodeModulesExcluder class Drupal\package_manager\PathExcluder core/modules/package_manager/src/PathExcluder/NodeModulesExcluder.php Excludes node_modules files from stage directories.
NodeNewComments class Drupal\comment\Plugin\views\field core/modules/comment/src/Plugin/views/field/NodeNewComments.php Field handler to display the number of new comments.
NodeOutputInterface interface Twig\Node vendor/twig/twig/src/Node/NodeOutputInterface.php Represents a displayable node in the AST. 4 1
NodePermissions class Drupal\node core/modules/node/src/NodePermissions.php Provides dynamic permissions for nodes of different types.
NodePreviewAccessCheck class Drupal\node\Access core/modules/node/src/Access/NodePreviewAccessCheck.php Determines access to node previews. 2
NodePreviewController class Drupal\node\Controller core/modules/node/src/Controller/NodePreviewController.php Defines a controller to render a single node in preview.

Pagination

  • First page
  • Previous page
  • …
  • Page 125
  • Page 126
  • Page 127
  • Page 128
  • Page 129
  • Page 130
  • Page 131
  • Page 132
  • Page 133
  • …
  • Next page
  • Last page
RSS feed
Powered by Drupal