You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

MerchantSettingDefinition.php 598B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. namespace Lc\CaracoleBundle\Definition;
  3. class MerchantSettingDefinition extends AbstractSettingDefinition implements MerchantSettingDefinitionInterface
  4. {
  5. const CATEGORY_GENERAL = 'general';
  6. const SETTING_URL = 'url';
  7. public function __construct()
  8. {
  9. $this
  10. ->addSettingText(
  11. [
  12. 'name' => self::SETTING_URL,
  13. 'category' => self::CATEGORY_GENERAL,
  14. ]
  15. );
  16. }
  17. public function getCategories()
  18. {
  19. return [
  20. self::CATEGORY_GENERAL,
  21. ];
  22. }
  23. }