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

Breadcrumb

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

BundleConstraint::$bundle

The bundle option.

Type: string|array

File

core/lib/Drupal/Core/Entity/Plugin/Validation/Constraint/BundleConstraint.php, line 34

Class

BundleConstraint
Checks if a value is a valid entity type.

Namespace

Drupal\Core\Entity\Plugin\Validation\Constraint

Code

public $bundle;

API Navigation

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