You are here

public static function ContentHubEntityDependency::getPostDependencyEntityTypes in Acquia Content Hub 8

Gets the list of "Entity-dependent" entity types.

5 calls to ContentHubEntityDependency::getPostDependencyEntityTypes()
acquia_contenthub_subscriber_acquia_contenthub_process_webhook_alter in acquia_contenthub_subscriber/acquia_contenthub_subscriber.module
Implements hook_acquia_contenthub_process_webhook_alter().
ContentHubEntityDependency::isEntityDependent in src/ContentHubEntityDependency.php
Checks whether the current entity is dependent on another one or not.
ContentHubEntityDependency::__construct in src/ContentHubEntityDependency.php
Public constructor.
ContentHubExportQueueController::enqueueExportEntities in src/Controller/ContentHubExportQueueController.php
Adds entities to the export queue.
SubscriberCommon::executeFilter in acquia_contenthub_subscriber/src/SubscriberCommon.php
Execute a given filter and return the retrieved entities.

File

src/ContentHubEntityDependency.php, line 87

Class

ContentHubEntityDependency
Content Hub Dependency Class.

Namespace

Drupal\acquia_contenthub

Code

public static function getPostDependencyEntityTypes() {

  // By default "field collections" and "paragraphs" are post-dependencies.
  $post_dependencies = [
    'field_collection_item' => 'field_collection_item',
    'paragraph' => 'paragraph',
    'path_alias' => 'path_alias',
  ];
  return $post_dependencies;
}