You are here

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

ResourceEntity

Namespace

Drupal\restful\Plugin\resource

Code

public function getBundles() {
  return $this->bundles;
}