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

Breadcrumb

  1. Drupal Core 11.1.x
  2. Uid.php

class Uid

Argument handler to accept a user id.

Hierarchy

  • class \Drupal\Component\Plugin\PluginBase implements \Drupal\Component\Plugin\PluginInspectionInterface, \Drupal\Component\Plugin\DerivativeInspectionInterface
    • class \Drupal\Core\Plugin\PluginBase extends \Drupal\Component\Plugin\PluginBase uses \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait
      • class \Drupal\views\Plugin\views\PluginBase extends \Drupal\Core\Plugin\PluginBase implements \Drupal\Core\Plugin\ContainerFactoryPluginInterface, \Drupal\views\Plugin\views\ViewsPluginInterface, \Drupal\Component\Plugin\DependentPluginInterface, \Drupal\Core\Security\TrustedCallbackInterface
        • class \Drupal\views\Plugin\views\HandlerBase extends \Drupal\views\Plugin\views\PluginBase implements \Drupal\views\Plugin\views\ViewsHandlerInterface
          • class \Drupal\views\Plugin\views\argument\ArgumentPluginBase extends \Drupal\views\Plugin\views\HandlerBase implements \Drupal\Core\Cache\CacheableDependencyInterface
            • class \Drupal\views\Plugin\views\argument\NumericArgument extends \Drupal\views\Plugin\views\argument\ArgumentPluginBase
              • class \Drupal\views\Plugin\views\argument\EntityArgument extends \Drupal\views\Plugin\views\argument\NumericArgument implements \Drupal\Core\Plugin\ContainerFactoryPluginInterface
                • class \Drupal\user\Plugin\views\argument\Uid extends \Drupal\views\Plugin\views\argument\EntityArgument

Expanded class hierarchy of Uid

Related topics

Views argument handlers
Handler plugins for Views contextual filters.
1 file declares its use of Uid
UidRevision.php in core/modules/node/src/Plugin/views/argument/UidRevision.php
94 string references to 'Uid'
Comment::query in core/modules/comment/src/Plugin/migrate/source/d6/Comment.php
CommentAccessControlHandler::checkFieldAccess in core/modules/comment/src/CommentAccessControlHandler.php
Default field access as determined by this access control handler.
CommentForm::buildEntity in core/modules/comment/src/CommentForm.php
Builds an updated entity object based upon the submitted form values.
CommentHooks::userPredelete in core/modules/comment/src/Hook/CommentHooks.php
Implements hook_ENTITY_TYPE_predelete() for user entities.
CommentNameConstraint::coversFields in core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraint.php
An array of entity fields which should be passed to the validator.

... See full list

File

core/modules/user/src/Plugin/views/argument/Uid.php, line 13

Namespace

Drupal\user\Plugin\views\argument
View source
class Uid extends EntityArgument {

}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal