currency-8.x-3.3/src/LocaleResolverInterface.php

src/LocaleResolverInterface.php
<?php

namespace Drupal\currency;

use Drupal\Core\Language\LanguageInterface;

/**
 * Defines a locale resolver.
 */
interface LocaleResolverInterface {

  /**
   * The default locale.
   */
  const DEFAULT_LOCALE = 'en_US';

  /**
   * Loads the locale to use.
   *
   * @param string $language_type
   *   One of the \Drupal\Core\Language\LanguageInterface\TYPE_* constants.
   *
   * @throws \RuntimeException
   *
   * @return \Drupal\currency\Entity\CurrencyLocaleInterface
   *   The currency locale entity.
   */
  public function resolveCurrencyLocale($language_type = LanguageInterface::TYPE_CONTENT);

}

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

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