You are here

public function ContentHubEntityTypeConfig::setBundles in Acquia Content Hub 8

Sets the bundles.

Parameters

array $bundles: An array of bundles configuration.

Overrides ContentHubEntityTypeConfigInterface::setBundles

File

src/Entity/ContentHubEntityTypeConfig.php, line 105

Class

ContentHubEntityTypeConfig
Defines a ContentHubEntityTypeConfig configuration entity class.

Namespace

Drupal\acquia_contenthub\Entity

Code

public function setBundles(array $bundles) {
  $this->bundles = $bundles;
}