Skip to content

Commit

Permalink
Merge pull request sonata-project#902 from core23/media-block
Browse files Browse the repository at this point in the history
FeatureMediaBlock: Make orientation optional
  • Loading branch information
OskarStark committed Dec 2, 2015
2 parents eb12eae + 8bd9c60 commit 9630bb1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Block/FeatureMediaBlockService.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ public function buildEditForm(FormMapper $formMapper, BlockInterface $block)
'label' => 'form.label_content',
)),
array('orientation', 'choice', array(
'choices' => array(
'required' => false,
'choices' => array(
'left' => 'form.label_orientation_left',
'right' => 'form.label_orientation_right',
),
Expand Down

0 comments on commit 9630bb1

Please sign in to comment.