public function StringStorageInterface::getLocations in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 69 - Contains \Drupal\locale\StringStorageInterface.
Class
- StringStorageInterface
- Defines the locale string storage interface.
Namespace
Drupal\localeCode
public function getLocations(array $conditions = array());