geolocation-8.x-3.x-dev/modules/geolocation_google_maps/modules/geolocation_google_places_api/src/Plugin/Block/GooglePlacesApiAttributionBlock.php

modules/geolocation_google_maps/modules/geolocation_google_places_api/src/Plugin/Block/GooglePlacesApiAttributionBlock.php
<?php

namespace Drupal\geolocation_google_places_api\Plugin\Block;

use Drupal\Core\Block\Attribute\Block;
use Drupal\Core\Block\BlockBase;

/**
 * Provides a 'Fax' block.
 */
#[Block(
  id: 'geolocation_google_places_api_attribution_block',
  admin_label: new \Drupal\Core\StringTranslation\TranslatableMarkup('Geolocation - Google Places API Attribution block')
)]
class GooglePlacesApiAttributionBlock extends BlockBase {

  /**
   * {@inheritdoc}
   */
  public function build() {
    return ['#markup' => '<span id="geolocation-google-places-api-attribution"></span>'];
  }

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc