Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

better explain the form type #756

Merged
merged 1 commit into from
Aug 20, 2016
Merged

better explain the form type #756

merged 1 commit into from
Aug 20, 2016

Conversation

dbu
Copy link
Member

@dbu dbu commented Apr 1, 2016

some documentation to go with symfony-cmf/seo-bundle#277

@@ -240,14 +240,29 @@ the ``SeoMetadata`` entity.
Form Type
---------

The bundle also provides a special form type called ``seo_metadata``. This
form type can be used in forms to edit the ``SeoMetadata`` object.
The bundle also provides a special form type called ``Symfony\Cmf\Bundle\SeoBundle\Form\Type\SeoMetadataType``
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should probably hunt through all of the documentation for these... but not in this PR

@dbu
Copy link
Member Author

dbu commented Apr 1, 2016

@wouterj do you have an idea what the sphinx error is about? api_url indeed is assigned a string, so what is wrong? did they introduce api_url as a system variable and we somehow clash with that now?


/** @var FormMapper $formMapper */
$formMapper
->add('seoMetadata', 'Symfony\Cmf\Bundle\SeoBundle\Form\Type\SeoMetadataType')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the core docs, we decided to use SeoMetadataType::class + a use statement.

Copy link
Member Author

@dbu dbu Apr 4, 2016 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ping @wouterj

@dbu dbu force-pushed the seo-orm-form-type branch from 1912a3e to 521c8fc Compare April 8, 2016 06:04
@dbu
Copy link
Member Author

dbu commented Apr 8, 2016

rebased to get the sphinx build fix

@dbu dbu force-pushed the seo-orm-form-type branch from 521c8fc to 9c36282 Compare August 20, 2016 10:22
@dbu dbu merged commit 4babfcc into 1.3 Aug 20, 2016
@dbu dbu deleted the seo-orm-form-type branch August 20, 2016 10:23
@lsmith77 lsmith77 removed the wip/poc label Aug 20, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants