Model/Config/Source/Product/Pattern.php (20 lines of code) (raw):

<?php /** * Copyright (c) Meta Platforms, Inc. and affiliates. All Rights Reserved */ namespace Facebook\BusinessExtension\Model\Config\Source\Product; use Magento\Eav\Model\Entity\Attribute\Source\AbstractSource; class Pattern extends AbstractSource { /** * Get all options * * @return array */ public function getAllOptions() { if ($this->_options === null) { $this->_options = [ ['value' => '', 'label' => __('Please Select')], ['value' => 'Plaid', 'label' => __('Plaid')], ['value' => 'Polka', 'label' => __('Polka')], ['value' => 'Dot', 'label' => __('Dot')], ['value' => 'Gingham', 'label' => __('Gingham')], ['value' => 'Chevron', 'label' => __('Chevron')], ]; } return $this->_options; } }