interface BundlePluginInstallerInterface in Entity API 8
Installs and uninstalls bundle plugins.
Ensures that the fields provided by the bundle plugins are created/deleted.
Hierarchy
- interface \Drupal\entity\BundlePlugin\BundlePluginInstallerInterface
Expanded class hierarchy of BundlePluginInstallerInterface
All classes that implement BundlePluginInstallerInterface
File
- src/BundlePlugin/ BundlePluginInstallerInterface.php, line 12 
Namespace
Drupal\entity\BundlePluginView source
interface BundlePluginInstallerInterface {
  /**
   * Installs the bundle plugins provided by the specified modules.
   *
   * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type
   *   The entity type.
   * @param array $modules
   *   The modules.
   */
  public function installBundles(EntityTypeInterface $entity_type, array $modules);
  /**
   * Uninstalls the bundle plugins provided by the specified modules.
   *
   * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type
   *   The entity type.
   * @param array $modules
   *   The modules.
   */
  public function uninstallBundles(EntityTypeInterface $entity_type, array $modules);
}Members
| Name   | Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| BundlePluginInstallerInterface:: | public | function | Installs the bundle plugins provided by the specified modules. | 1 | 
| BundlePluginInstallerInterface:: | public | function | Uninstalls the bundle plugins provided by the specified modules. | 1 | 
