ContentTranslationUpdatesManager::onConfigImporterImport

public ContentTranslationUpdatesManager::onConfigImporterImport() Listener for the ConfigImporter import event. File core/modules/content_translation/src/ContentTranslationUpdatesManager.php, line 73 Class ContentTranslationUpdatesManager Provides the logic needed to update field storage definitions when needed. Namespace Drupal\content_translation Code public function onConfigImporterImport() { $entity_types = array_filter($this->entityManager->getDefinitions(), function(Entit

ContentTranslationUpdatesManager::getSubscribedEvents

public static ContentTranslationUpdatesManager::getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName',

ContentTranslationUpdatesManager::$updateManager

The entity definition update manager. Type: \Drupal\Core\Entity\EntityDefinitionUpdateManagerInterface File core/modules/content_translation/src/ContentTranslationUpdatesManager.php, line 31 Class ContentTranslationUpdatesManager Provides the logic needed to update field storage definitions when needed. Namespace Drupal\content_translation Code protected $updateManager;

ContentTranslationUpdatesManager::$entityManager

The entity manager. Type: \Drupal\Core\Entity\EntityManagerInterface File core/modules/content_translation/src/ContentTranslationUpdatesManager.php, line 24 Class ContentTranslationUpdatesManager Provides the logic needed to update field storage definitions when needed. Namespace Drupal\content_translation Code protected $entityManager;

ContentTranslationUpdatesManager

Provides the logic needed to update field storage definitions when needed. Hierarchy class \Drupal\content_translation\ContentTranslationUpdatesManager implements EventSubscriberInterface File core/modules/content_translation/src/ContentTranslationUpdatesManager.php, line 17 Namespace Drupal\content_translation Members Name Modifiers Type Description ContentTranslationUpdatesManager::$entityManager protected property The entity manager. ContentTranslationUpdatesManager

ContentTranslationRouteSubscriber::__construct

public ContentTranslationRouteSubscriber::__construct(ContentTranslationManagerInterface $content_translation_manager) Constructs a ContentTranslationRouteSubscriber object. Parameters \Drupal\content_translation\ContentTranslationManagerInterface $content_translation_manager: The content translation manager. File core/modules/content_translation/src/Routing/ContentTranslationRouteSubscriber.php, line 29 Class ContentTranslationRouteSubscriber Subscriber for entity translation routes. N

ContentTranslationRouteSubscriber::getSubscribedEvents

public static ContentTranslationRouteSubscriber::getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName',

ContentTranslationRouteSubscriber::alterRoutes

protected ContentTranslationRouteSubscriber::alterRoutes(RouteCollection $collection) Alters existing routes for a specific collection. Parameters \Symfony\Component\Routing\RouteCollection $collection: The route collection for adding routes. Overrides RouteSubscriberBase::alterRoutes File core/modules/content_translation/src/Routing/ContentTranslationRouteSubscriber.php, line 36 Class ContentTranslationRouteSubscriber Subscriber for entity translation routes. Namespace Drupal\content_

ContentTranslationRouteSubscriber::$contentTranslationManager

The content translation manager. Type: \Drupal\content_translation\ContentTranslationManagerInterface File core/modules/content_translation/src/Routing/ContentTranslationRouteSubscriber.php, line 21 Class ContentTranslationRouteSubscriber Subscriber for entity translation routes. Namespace Drupal\content_translation\Routing Code protected $contentTranslationManager;

ContentTranslationRouteSubscriber

Subscriber for entity translation routes. Hierarchy class \Drupal\Core\Routing\RouteSubscriberBase implements EventSubscriberInterfaceclass \Drupal\content_translation\Routing\ContentTranslationRouteSubscriber File core/modules/content_translation/src/Routing/ContentTranslationRouteSubscriber.php, line 14 Namespace Drupal\content_translation\Routing Members Name Modifiers Type Description ContentTranslationRouteSubscriber::$contentTranslationManager protected property T