Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
token_list.phtml
Go to the documentation of this file.
1 <?php
7 // @codingStandardsIgnoreFile
9 $tokens = $block->getPaymentTokens();
10 ?>
11 <?php if (count($tokens) !== 0): ?>
12  <div class="table-wrapper my-credit-cards">
13  <table class="data table table-credit-cards" id="token-list-table">
14  <thead>
15  <tr>
16  <th scope="col" class="col"><?= $block->escapeHtml(__('PayPal Account')) ?></th>
17  <th scope="col" class="col actions">&nbsp;</th>
18  </tr>
19  </thead>
20  <tbody>
21  <?php foreach($tokens as $token): ?>
22  <?= /* @noEscape */ $block->renderTokenHtml($token) ?>
23  <?php endforeach; ?>
24  </tbody>
25  </table>
26  </div>
27 <?php endif; ?>
foreach( $this->main as $item) endforeach
Definition: side-menu.phtml:10
__()
Definition: __.php:13
$block
Definition: block.php:8
endif
$_count $_index $_prevOptionId if($block->getOrderOptions()|| $_item->getDescription()) foreach( $items as $_item)( $_item) ?><?php $attributes if( $_item->getOrderItem() ->getParentItem())($_prevOptionId !=$attributes['option_id'])</td >< td > & nbsp
Definition: renderer.phtml:33
$tokens
Definition: token_list.phtml:9