Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Status.php
Go to the documentation of this file.
1 <?php
7 
12 {
18  public function toOptionArray()
19  {
20  return [
21  ['value' => \Magento\Integration\Model\Integration::STATUS_INACTIVE, 'label' => __('Inactive')],
22  ['value' => \Magento\Integration\Model\Integration::STATUS_ACTIVE, 'label' => __('Active')],
23  ['value' => \Magento\Integration\Model\Integration::STATUS_RECREATED, 'label' => __('Reset')]
24  ];
25  }
26 }
__()
Definition: __.php:13