Upgraded imagemagick and manually altered pdf to image module to handle changes....
[yaffs-website] / web / modules / contrib / entity / src / BundlePlugin / BundlePluginInstallerInterface.php
1 <?php
2
3 namespace Drupal\entity\BundlePlugin;
4
5 use Drupal\Core\Entity\EntityTypeInterface;
6
7 /**
8  * Installs and uninstalls bundle plugins.
9  *
10  * Ensures that the fields provided by the bundle plugins are created/deleted.
11  */
12 interface BundlePluginInstallerInterface {
13
14   /**
15    * Installs the bundle plugins provided by the specified modules.
16    *
17    * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type
18    *   The entity type.
19    * @param array $modules
20    *   The modules.
21    */
22   public function installBundles(EntityTypeInterface $entity_type, array $modules);
23
24   /**
25    * Uninstalls the bundle plugins provided by the specified modules.
26    *
27    * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type
28    *   The entity type.
29    * @param array $modules
30    *   The modules.
31    */
32   public function uninstallBundles(EntityTypeInterface $entity_type, array $modules);
33
34 }