public function ResourceEntity::getBundles in RESTful 7.2
Gets the entity bundle.
Return value
array The bundles.
1 call to ResourceEntity::getBundles()
- ResourceEntity::viewModeFields in src/
Plugin/ resource/ ResourceEntity.php - Get the public fields with default values based on view mode information.
File
- src/
Plugin/ resource/ ResourceEntity.php, line 158 - Contains \Drupal\restful\Plugin\resource\ResourceEntity.
Class
Namespace
Drupal\restful\Plugin\resourceCode
public function getBundles() {
return $this->bundles;
}