Blueprint refactor: fix site blueprint

This commit is contained in:
Matias Griese
2016-01-21 15:38:12 +02:00
parent 130d039101
commit b791e8efda
2 changed files with 5 additions and 4 deletions

View File

@@ -3,7 +3,7 @@ form:
validation: loose
fields:
content:
section_content:
type: section
title: PLUGIN_ADMIN.DEFAULTS
underline: true
@@ -39,7 +39,7 @@ form:
validate:
type: commalist
summary:
section_summary:
type: section
title: PLUGIN_ADMIN.PAGE_SUMMARY
underline: true
@@ -82,7 +82,7 @@ form:
label: PLUGIN_ADMIN.DELIMITER
help: PLUGIN_ADMIN.DELIMITER_HELP
metadata:
section_metadata:
type: section
title: PLUGIN_ADMIN.METADATA
underline: true
@@ -95,7 +95,7 @@ form:
placeholder_key: PLUGIN_ADMIN.METADATA_KEY
placeholder_value: PLUGIN_ADMIN.METADATA_VALUE
routes:
section_routes:
type: section
title: PLUGIN_ADMIN.REDIRECTS_AND_ROUTES
underline: true

View File

@@ -129,6 +129,7 @@ class Blueprint extends BaseBlueprints implements ExportInterface
*/
public function extend(Blueprint $extends, $append = false)
{
throw new \Exception('Extend is not implemented yet');
// FIXME: Currently not working...
$blueprints = $append ? $this->form : $extends->fields();
$appended = $append ? $extends->fields() : $this->form;