public function toOptionArray()
    {
        return [
            ['label' => __('Auto'), 'value' => self::AUTO_DISPLAYED],
            ['label' => __('Always hidden'), 'value' => self::ALWAYS_HIDDEN],
            ['label' => __('Always displayed'), 'value' => self::ALWAYS_DISPLAYED],
        ];
    }
public function toOptionArray()
    {
        return [
            ['label' => __('Auto'), 'value' => self::AUTO_DISPLAYED],
            ['label' => __('Always hidden'), 'value' => self::ALWAYS_HIDDEN],
            ['label' => __('Always displayed'), 'value' => self::ALWAYS_DISPLAYED],
        ];
    }
public function toOptionArray ( ) { return [ [ 'label' => __ ( 'Auto' ) , 'value' => self :: AUTO_DISPLAYED ] , [ 'label' => __ ( 'Always hidden' ) , 'value' => self :: ALWAYS_HIDDEN ] , [ 'label' => __ ( 'Always displayed' ) , 'value' => self :: ALWAYS_DISPLAYED ] , ] ; }
Return array of display mode

@return array
Return array of display mode