You are here

public function ContentHubFilter::getBundles in Acquia Content Hub 8

Returns the list of bundles.

Return value

\string[] An array of bundles.

File

acquia_contenthub_subscriber/src/Entity/ContentHubFilter.php, line 175

Class

ContentHubFilter
Defines the ContentHubFilter entity.

Namespace

Drupal\acquia_contenthub_subscriber\Entity

Code

public function getBundles() {
  return is_array($this->bundles) ? $this->bundles : [];
}