Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat seo form order #128

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ public function mapFieldValueForm(FormInterface $fieldForm, FieldData $data)
unset($data->value->metas[$key]);
}
}

// order form from configuration order
$data->value->metas = array_merge(array_flip(array_keys($metasConfig)), $data->value->metas);

$fieldForm
->add(
Expand Down
4 changes: 4 additions & 0 deletions components/SEOBundle/documentation/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

# <i class="fa fa-file"></i>Changelog

## 7.0.2

* Add form order from configuration

## 7.0.1

* Fix siteaccess aware for multisite
Expand Down
Loading