# payplug/2.10.0/src/Gateway/Blocks/PayplugIdeal.php

PayPlug for WooCommerce (Official), version 2.10.0. 37 lines.

- Page: https://pluginprobe.com/plugins/payplug/2.10.0/code/src/Gateway/Blocks/PayplugIdeal.php
- Raw: https://pluginprobe.com/plugins/payplug/2.10.0/raw/src/Gateway/Blocks/PayplugIdeal.php
- Modified: 2024-10-24T16:13:54+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/payplug/2.10.0/code/src/Gateway/Blocks/PayplugIdeal.php#L10-L20`.

```php
<?php

namespace Payplug\PayplugWoocommerce\Gateway\Blocks;

use Payplug\PayplugWoocommerce\PayplugWoocommerceHelper;

class PayplugIdeal extends PayplugGenericBlock
{

	/**
	 * Payment method name/id/slug.
	 *
	 * @var string
	 */
	protected $name = 'ideal';


	/**
	 * Returns an associative array of data to be exposed for the payment method's client side.
	 */
	public function get_payment_method_data() {
		$data = parent::get_payment_method_data();
		$data['icon'] =  [
			"src" => esc_url(PAYPLUG_GATEWAY_PLUGIN_URL . '/assets/images/checkout/' . $this->gateway->image),
			'icon_alt' => $data['name'],
		];

		return $data;
	}






}

```
