modules/acm/src/ACMAddressFormatter.php
public function render($address) {
    $element = [
      '#prefix' => '<p class="address" translate="no">',
      '#suffix' => '</p>',
      '#post_render' => [
        [get_class($this), 'postRender'],
      ],
      '#cache' => [
        'contexts' => [
          'languages:' . LanguageInterface::TYPE_INTERFACE,
        ],
      ],
    ] + $this->viewElement($address, 'en');

    return render($element);
  }
public function render($address) {
    $element = [
      '#prefix' => '<p class="address" translate="no">',
      '#suffix' => '</p>',
      '#post_render' => [
        [get_class($this), 'postRender'],
      ],
      '#cache' => [
        'contexts' => [
          'languages:' . LanguageInterface::TYPE_INTERFACE,
        ],
      ],
    ] + $this->viewElement($address, 'en');

    return render($element);
  }
public function render ( $ address ) { $ element = [ '#prefix' => '<p class="address" translate="no">' , '#suffix' => '</p>' , '#post_render' => [ [ get_class ( $ this ) , 'postRender' ] , ] , '#cache' => [ 'contexts' => [ 'languages:' . LanguageInterface :: TYPE_INTERFACE , ] , ] , ] + $ this -> viewElement ( $ address , 'en' ) ; return render ( $ element ) ; }
Render address.

@param object $address
The address.

@return mixed|null
A renderable array.
Render address .