Url.php 568 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. declare(strict_types=1);
  7. namespace Magento\Ui\Model\UrlInput;
  8. /**
  9. * Returns configuration for default Url Input type
  10. */
  11. class Url implements ConfigInterface
  12. {
  13. /**
  14. * {@inheritdoc}
  15. */
  16. public function getConfig(): array
  17. {
  18. return [
  19. 'label' => __('URL'),
  20. 'component' => 'Magento_Ui/js/form/element/abstract',
  21. 'template' => 'ui/form/element/input',
  22. 'sortOrder' => 20,
  23. ];
  24. }
  25. }