Search for getOptions

  1. Search 7.x for getOptions
  2. Search 9.5.x for getOptions
  3. Search 8.9.x for getOptions
  4. Search 10.3.x for getOptions
  5. Other projects
Title Object type File name Summary
BaseFieldDefinition::getOptionsProvider function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Gets an options provider for the given field item property.
BlockContentAddLocalAction::getOptions function core/modules/block_content/src/Plugin/Menu/LocalAction/BlockContentAddLocalAction.php Returns options for rendering a link for the local action.
BrowserTestBase::getOptions function core/tests/Drupal/Tests/BrowserTestBase.php Helper function to get the options of select field.
ContextualLinkDefault::getOptions function core/lib/Drupal/Core/Menu/ContextualLinkDefault.php Returns the link options passed to the link generator.
ContextualLinkDefaultTest::testGetOptions function core/tests/Drupal/Tests/Core/Menu/ContextualLinkDefaultTest.php @covers ::getOptions
ContextualLinkInterface::getOptions function core/lib/Drupal/Core/Menu/ContextualLinkInterface.php Returns the link options passed to the link generator.
DisplayModeLocalAction::getOptions function core/modules/field_ui/src/DisplayModeLocalAction.php
DrupalTranslator::getOptions function core/lib/Drupal/Core/Validation/DrupalTranslator.php Returns options suitable for use with TranslatableMarkup.
FieldStorageConfig::getOptionsProvider function core/modules/field/src/Entity/FieldStorageConfig.php
FieldStorageDefinitionInterface::getOptionsProvider function core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php Gets an options provider for the given field item property.
FormatterPluginManager::getOptions function core/lib/Drupal/Core/Field/FormatterPluginManager.php Returns an array of formatter options for a field type.
LocalActionDefault::getOptions function core/lib/Drupal/Core/Menu/LocalActionDefault.php Returns options for rendering a link for the local action.
LocalActionInterface::getOptions function core/lib/Drupal/Core/Menu/LocalActionInterface.php Returns options for rendering a link for the local action.
LocalTaskDefault::getOptions function core/lib/Drupal/Core/Menu/LocalTaskDefault.php Returns options for rendering a link to the local task.
LocalTaskDefaultTest::testGetOptions function core/tests/Drupal/Tests/Core/Menu/LocalTaskDefaultTest.php @covers ::getOptions
LocalTaskInterface::getOptions function core/lib/Drupal/Core/Menu/LocalTaskInterface.php Returns options for rendering a link to the local task.
ManageOptions::getOptions function composer/Plugin/Scaffold/ManageOptions.php Gets the root-level scaffold options for this project.
MenuLinkAdd::getOptions function core/modules/menu_ui/src/Plugin/Menu/LocalAction/MenuLinkAdd.php
MenuLinkBase::getOptions function core/lib/Drupal/Core/Menu/MenuLinkBase.php Returns the options for this link.
MenuLinkInterface::getOptions function core/lib/Drupal/Core/Menu/MenuLinkInterface.php Returns the options for this link.
OptionsWidgetBase::getOptions function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/OptionsWidgetBase.php Returns the array of options for the widget.
PoDatabaseReader::getOptions function core/modules/locale/src/PoDatabaseReader.php Get the options used by the reader.
PoDatabaseWriter::getOptions function core/modules/locale/src/PoDatabaseWriter.php Get the options used by the writer.
SessionConfiguration::getOptions function core/lib/Drupal/Core/Session/SessionConfiguration.php Returns a list of options suitable for passing to the session storage.
SessionConfigurationInterface::getOptions function core/lib/Drupal/Core/Session/SessionConfigurationInterface.php Returns a list of options suitable for passing to the session storage.
TimeZoneFormHelper::getOptionsList function core/lib/Drupal/Core/Datetime/TimeZoneFormHelper.php Generate an array of time zones names.
TimeZoneFormHelper::getOptionsListByRegion function core/lib/Drupal/Core/Datetime/TimeZoneFormHelper.php Generate an array of time zones names grouped by region.
TranslatableMarkup::getOptions function core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php Gets all options from this translated string.
UnroutedUrlTest::testGetOptions function core/tests/Drupal/Tests/Core/UnroutedUrlTest.php Tests the getOptions() method.
Url::getOptions function core/lib/Drupal/Core/Url.php Returns the URL options.
UrlTest::testGetOptions function core/tests/Drupal/Tests/Core/UrlTest.php Tests the getOptions() method.
WidgetPluginManager::$widgetOptions property core/lib/Drupal/Core/Field/WidgetPluginManager.php An array of widget options for each field type.
WidgetPluginManager::getOptions function core/lib/Drupal/Core/Field/WidgetPluginManager.php Returns an array of widget type options for a field type.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.