<?php /** * ###### * ###### * ############ ####( ###### #####. ###### ############ ############ * ############# #####( ###### #####. ###### ############# ############# * ###### #####( ###### #####. ###### ##### ###### ##### ###### * ###### ###### #####( ###### #####. ###### ##### ##### ##### ###### * ###### ###### #####( ###### #####. ###### ##### ##### ###### * ############# ############# ############# ############# ##### ###### * ############ ############ ############# ############ ##### ###### * ###### * ############# * ############ * * Adyen Payment module (https://www.adyen.com/) * * Copyright (c) 2015 Adyen BV (https://www.adyen.com/) * See LICENSE.txt for license details. * * Author: Adyen <magento@adyen.com> */ namespace Adyen\Payment\Model\Config\Source; class RenderMode implements \Magento\Framework\Option\ArrayInterface { const MODE_TITLE = 'title'; const MODE_TITLE_IMAGE = 'title_image'; /** * @return array */ public function toOptionArray() { return array( array('value' => self::MODE_TITLE, 'label' => __('Title')), array('value' => self::MODE_TITLE_IMAGE, 'label' => __('Logo + Title')), ); } }