You are here

public static function StructureSyncHelper::getEntityFieldManager in Structure Sync 2.x

Same name and namespace in other branches
  1. 8 src/StructureSyncHelper.php \Drupal\structure_sync\StructureSyncHelper::getEntityFieldManager()

Function to get an entity field manager.

Return value

\Drupal\Core\Entity\EntityFieldManagerInterface Entity field manager.

1 call to StructureSyncHelper::getEntityFieldManager()
BlocksController::exportBlocks in src/Controller/BlocksController.php
Function to export custom blocks.

File

src/StructureSyncHelper.php, line 211

Class

StructureSyncHelper
Container of functions for importing and exporting content in structure.

Namespace

Drupal\structure_sync

Code

public static function getEntityFieldManager() {
  return \Drupal::service('entity_field.manager');
}