| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 11 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | 1 | public function getConfigTreeBuilder() |
|
| 19 | { |
||
| 20 | 1 | $treeBuilder = new TreeBuilder(); |
|
| 21 | 1 | $rootNode = $treeBuilder->root('azine_social_bar'); |
|
| 22 | |||
| 23 | $rootNode |
||
| 24 | 1 | ->children() |
|
| 25 | 1 | ->scalarNode(AzineSocialBarExtension::FB_PROFILE)->defaultValue('')->info("the url to you Facebook profile: will be used for the 'url' parameter when showing the 'follow' button")->end() |
|
| 26 | 1 | ->scalarNode(AzineSocialBarExtension::GOOGLE_PLUS_PROFILE)->defaultValue('')->info("the url to your Google+ profile: will be used for the 'url' parameter when showing the 'follow' button")->end() |
|
| 27 | 1 | ->scalarNode(AzineSocialBarExtension::XING_PROFILE)->defaultValue('')->info("the url to your xing profile: will be used for the 'url' parameter when showing the 'follow' button")->end() |
|
| 28 | 1 | ->scalarNode(AzineSocialBarExtension::LINKED_IN_PROFILE)->defaultValue('')->info("your profile-id (=> get it here http://developer.linkedin.com/plugins) : will be used for the 'companyId' parameter when showing the 'follow' button")->end() |
|
| 29 | 1 | ->scalarNode(AzineSocialBarExtension::TWITTER_PROFILE)->defaultValue('')->info("your twitter username: will be used for the 'action' parameter when showing the 'follow' button and also for the 'tag' and 'via' parameters of all twitter buttons ")->end() |
|
| 30 | 1 | ->end(); |
|
| 31 | |||
| 32 | 1 | return $treeBuilder; |
|
| 33 | } |
||
| 35 |