You are here

public function BundlePluginInstallerInterface::installBundles in Entity API 8

Installs the bundle plugins provided by the specified modules.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type.

array $modules: The modules.

1 method overrides BundlePluginInstallerInterface::installBundles()
BundlePluginInstaller::installBundles in src/BundlePlugin/BundlePluginInstaller.php
Installs the bundle plugins provided by the specified modules.

File

src/BundlePlugin/BundlePluginInstallerInterface.php, line 22

Class

BundlePluginInstallerInterface
Installs and uninstalls bundle plugins.

Namespace

Drupal\entity\BundlePlugin

Code

public function installBundles(EntityTypeInterface $entity_type, array $modules);