You are here

public function TranslatableMarkup::getOptions in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php \Drupal\Core\StringTranslation\TranslatableMarkup::getOptions()

Gets all options from this translated string.

Return value

mixed[] The array of options.

File

core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php, line 168

Class

TranslatableMarkup
Provides translatable markup class.

Namespace

Drupal\Core\StringTranslation

Code

public function getOptions() {
  return $this->options;
}