Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
ListIntegerItem::storageSettingsForm function core/modules/options/src/Plugin/Field/FieldType/ListIntegerItem.php Returns a form for the storage-level settings.
ListIntegerItem::validateAllowedValue function core/modules/options/src/Plugin/Field/FieldType/ListIntegerItem.php Checks whether a candidate allowed value is valid.
ListInterface interface core/lib/Drupal/Core/TypedData/ListInterface.php Interface for a list of typed data.
ListInterface.php file core/lib/Drupal/Core/TypedData/ListInterface.php
ListInterface::appendItem function core/lib/Drupal/Core/TypedData/ListInterface.php Appends a new item to the list.
ListInterface::filter function core/lib/Drupal/Core/TypedData/ListInterface.php Filters the items in the list using a custom callback.
ListInterface::first function core/lib/Drupal/Core/TypedData/ListInterface.php Returns the first item in this list.
ListInterface::get function core/lib/Drupal/Core/TypedData/ListInterface.php Returns the item at the specified position in this list.
ListInterface::getDataDefinition function core/lib/Drupal/Core/TypedData/ListInterface.php Gets the data definition.
ListInterface::getItemDefinition function core/lib/Drupal/Core/TypedData/ListInterface.php Gets the definition of a contained item.
ListInterface::isEmpty function core/lib/Drupal/Core/TypedData/ListInterface.php Determines whether the list contains any non-empty items.
ListInterface::removeItem function core/lib/Drupal/Core/TypedData/ListInterface.php Removes the item at the specified position.
ListInterface::set function core/lib/Drupal/Core/TypedData/ListInterface.php Sets the value of the item at a given position in the list.
ListItemBase class core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php Plugin base class inherited by the options field types.
ListItemBase.php file core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php
ListItemBase::addMoreAjax function core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php Ajax callback for the "Add another item" button.
ListItemBase::addMoreSubmit function core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php Adds a new option.
ListItemBase::allowedValuesDescription function core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php Provides the field type specific allowed values form element #description.
ListItemBase::allowedValuesString function core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php Generates a string representation of an array of 'allowed values'.
ListItemBase::castAllowedValue function core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php Converts a value to the correct type.
ListItemBase::defaultStorageSettings function core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php Defines the storage-level settings for this plugin.
ListItemBase::deleteAjax function core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php Ajax callback for per row delete button.
ListItemBase::deleteSubmit function core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php Deletes a row/option.
ListItemBase::extractAllowedValues function core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php Extracts the allowed values array from the allowed_values element.
ListItemBase::generateSampleValue function core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php Generates placeholder field values.
ListItemBase::getPossibleOptions function core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php Returns an array of possible values with labels for display.
ListItemBase::getPossibleValues function core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php Returns an array of possible values.
ListItemBase::getSettableOptions function core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php Returns an array of settable values with labels for display.
ListItemBase::getSettableValues function core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php Returns an array of settable values.
ListItemBase::isEmpty function core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php Determines whether the data structure is empty.
ListItemBase::simplifyAllowedValues function core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php Simplifies allowed values to a key-value array from the structured array.
ListItemBase::storageSettingsForm function core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php Returns a form for the storage-level settings.
ListItemBase::storageSettingsFromConfigData function core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php Returns a settings array in the field type's canonical representation.
ListItemBase::storageSettingsToConfigData function core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php Returns a settings array that can be stored as a configuration value.
ListItemBase::structureAllowedValues function core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php Creates a structured array of allowed values from a key-value array.
ListItemBase::submitFieldStorageUpdate function core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php Resets the static variable on field storage update.
ListItemBase::validateAllowedValue function core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php Checks whether a candidate allowed value is valid.
ListItemBase::validateAllowedValues function core/modules/options/src/Plugin/Field/FieldType/ListItemBase.php #element_validate callback for options field allowed values.
ListNormalizer class core/modules/serialization/src/Normalizer/ListNormalizer.php Converts list objects to arrays.
ListNormalizer.php file core/modules/serialization/src/Normalizer/ListNormalizer.php
ListNormalizer::getSupportedTypes function core/modules/serialization/src/Normalizer/ListNormalizer.php
ListNormalizer::normalize function core/modules/serialization/src/Normalizer/ListNormalizer.php
ListNormalizerTest class core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php @coversDefaultClass \Drupal\serialization\Normalizer\ListNormalizer[[api-linebreak]]
@group serialization
ListNormalizerTest.php file core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php
ListNormalizerTest::$expectedListValues property core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php The expected list values to use for testing.
ListNormalizerTest::$list property core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php The mock list instance.
ListNormalizerTest::$normalizer property core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php The ListNormalizer instance.
ListNormalizerTest::$typedData property core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php The mocked typed data.
ListNormalizerTest::setUp function core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php
ListNormalizerTest::testNormalize function core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php Tests the normalize() method.

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