ProductMediaAttributeManagementInterface.php 548 B

123456789101112131415161718192021
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Catalog\Api;
  7. /**
  8. * @api
  9. * @since 100.0.2
  10. */
  11. interface ProductMediaAttributeManagementInterface
  12. {
  13. /**
  14. * Retrieve the list of media attributes (fronted input type is media_image) assigned to the given attribute set.
  15. *
  16. * @param string $attributeSetName
  17. * @return \Magento\Catalog\Api\Data\ProductAttributeInterface[] list of media attributes
  18. */
  19. public function getList($attributeSetName);
  20. }