You are here

public function StringStorageInterface::getLocations in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/locale/src/StringStorageInterface.php \Drupal\locale\StringStorageInterface::getLocations()

Loads string location information.

Parameters

array $conditions: (optional) Array with conditions to filter the locations that may be any of the following elements:

  • 'sid', The string identifier.
  • 'type', The location type.
  • 'name', The location name.

Return value

\Drupal\locale\StringInterface[] Array of \Drupal\locale\StringInterface objects matching the conditions.

See also

\Drupal\locale\StringStorageInterface::getStrings()

1 method overrides StringStorageInterface::getLocations()
StringDatabaseStorage::getLocations in core/modules/locale/src/StringDatabaseStorage.php
Loads string location information.

File

core/modules/locale/src/StringStorageInterface.php, line 64

Class

StringStorageInterface
Defines the locale string storage interface.

Namespace

Drupal\locale

Code

public function getLocations(array $conditions = []);