/**
  * Adds backend layouts to the given backend layout collection.
  * The default backend layout ('default_default') is not added
  * since it's the default fallback if nothing is specified.
  *
  * @param DataProviderContext $dataProviderContext
  * @param BackendLayoutCollection $backendLayoutCollection
  * @return void
  */
 public function addBackendLayouts(DataProviderContext $dataProviderContext, BackendLayoutCollection $backendLayoutCollection)
 {
     $layoutData = $this->getLayoutData($dataProviderContext->getFieldName(), $dataProviderContext->getPageTsConfig(), $dataProviderContext->getPageId());
     foreach ($layoutData as $data) {
         $backendLayout = $this->createBackendLayout($data);
         $backendLayoutCollection->add($backendLayout);
     }
 }
 /**
  * Adds backend layouts to the given backend layout collection.
  *
  * @param DataProviderContext $dataProviderContext
  * @param BackendLayoutCollection $backendLayoutCollection
  * @return void
  */
 public function addBackendLayouts(DataProviderContext $dataProviderContext, BackendLayoutCollection $backendLayoutCollection)
 {
     $pageUid = $dataProviderContext->getPageId();
     $config = $this->getBackendLayoutConfiguration($pageUid);
     $configString = $this->encodeTypoScriptArray($config);
     $backendLayout = new BackendLayout('fluidpages', 'Fluidpages', $configString);
     $backendLayoutCollection->add($backendLayout);
 }