Skip to main content Skip to search
Can we use first and third party cookies and web beacons to understand our audience, and to tailor promotions you see?
Main menu

Main navigation

    • Go to Drupal.org
    • Drupal 7
    • Drupal 8+
    • Other projects
    • Develop for Drupal
Return to content
Drupal API

Breadcrumb

drupal main

Warning message

You are browsing documentation for drupal main, which is the development branch.

Namespaces - main - drupal

Primary tabs

  • main
  • 11.x
  • 10.3.x
  • 9.5.x
  • 8.9.x
  • 7.x

Introduction to namespaces

PHP classes, interfaces, and traits in Drupal are namespaced. See the Objected-oriented programming conventions for more information.

See also

Objected-oriented programming conventions

File

core/core.api.php, line 1545

Namespace
Drupal\workspaces\Plugin\Validation\Constraint
Drupal\workspaces\Provider
Drupal\workspaces_test
Drupal\workspaces_test\Entity
Drupal\workspaces_test\Form
Drupal\workspaces_test\Hook
Drupal\workspaces_test\Plugin\Field\FieldType
Drupal\workspaces_test\Provider
Drupal\workspaces_ui
Drupal\workspaces_ui\Form
Drupal\workspaces_ui\Hook
Drupal\workspaces_ui\Plugin\Block
Drupal\workspace_access_test\Hook
Drupal\workspace_update_test\Negotiator
Drupal\xyz_hook_order_test\Hook

Pagination

  • Previous page ‹‹
  • Page 55

Other projects


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

Search drupal main

Partial match search is supported

API Navigation

  • drupal main
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
  • Elements

News items

  • News
  • Planet Drupal
  • Social media
  • Sign up for Drupal news
  • Security advisories
  • Jobs

Our community

  • Community
  • Services
  • Training
  • Hosting
  • Contributor guide
  • Groups & meetups
  • DrupalCon
  • Code of conduct

Documentation

  • Documentation
  • Drupal Guide
  • Drupal User Guide
  • Developer docs
  • API.Drupal.org

Drupal code base

  • Download & Extend
  • Drupal core
  • Modules
  • Themes
  • Distributions

Governance of community

  • About
  • Web accessibility
  • Drupal Association
  • About Drupal.org
  • Terms of service
  • Privacy policy

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.