123456789101112131415161718192021222324252627282930313233343536 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Customer\Api;
- use Magento\Customer\Api\Data\AttributeMetadataInterface;
- /**
- * Interface for managing attributes metadata.
- * @api
- * @since 100.0.2
- */
- interface MetadataManagementInterface
- {
- /**
- * Check whether attribute is searchable in admin grid and it is allowed
- *
- * @api
- * @param AttributeMetadataInterface $attribute
- * @return bool
- * @throws \Magento\Framework\Exception\NoSuchEntityException
- */
- public function canBeSearchableInGrid(AttributeMetadataInterface $attribute);
- /**
- * Check whether attribute is filterable in admin grid and it is allowed
- *
- * @api
- * @param AttributeMetadataInterface $attribute
- * @return bool
- * @throws \Magento\Framework\Exception\NoSuchEntityException
- */
- public function canBeFilterableInGrid(AttributeMetadataInterface $attribute);
- }
|