您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

29 行
598B

  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. }