class Bundle in Little helpers 7
Same name and namespace in other branches
- 7.2 src/Field/Bundle.php \Drupal\little_helpers\Field\Bundle
Hierarchy
- class \Drupal\little_helpers\Field\Bundle implements BundleInterface
Expanded class hierarchy of Bundle
File
- src/
Field/ Bundle.php, line 5
Namespace
Drupal\little_helpers\FieldView source
class Bundle implements BundleInterface {
protected $entity_type;
protected $bundle;
public function __construct($entity_type, $bundle) {
$this->entity_type = $entity_type;
$this->bundle = $bundle;
}
/**
*
*/
public function getBundleName() {
return $this->bundle;
}
/**
*
*/
public function getEntityType() {
return $this->entity_type;
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Bundle:: |
protected | property | ||
Bundle:: |
protected | property | ||
Bundle:: |
public | function |
Overrides BundleInterface:: |
|
Bundle:: |
public | function |
Overrides BundleInterface:: |
|
Bundle:: |
public | function |