Chris@14: t('Edit layout for %label', ['%label' => $section_storage->label()]); Chris@14: } Chris@14: Chris@14: /** Chris@14: * Renders the Layout UI. Chris@14: * Chris@14: * @param \Drupal\layout_builder\SectionStorageInterface $section_storage Chris@14: * The section storage. Chris@14: * Chris@14: * @return array Chris@14: * A render array. Chris@14: */ Chris@18: public function layout(SectionStorageInterface $section_storage) { Chris@14: return [ Chris@18: '#type' => 'layout_builder', Chris@18: '#section_storage' => $section_storage, Chris@14: ]; Chris@14: } Chris@14: Chris@14: }