Search for list

  1. Search 7.x for list
  2. Search 9.5.x for list
  3. Search 10.3.x for list
  4. Search 11.x for list
  5. Other projects
Title Object type File name Summary
ListIntegerItem::allowedValuesDescription function core/modules/options/src/Plugin/Field/FieldType/ListIntegerItem.php Provides the field type specific allowed values form element #description.
ListIntegerItem::castAllowedValue function core/modules/options/src/Plugin/Field/FieldType/ListIntegerItem.php Converts a value to the correct type.
ListIntegerItem::propertyDefinitions function core/modules/options/src/Plugin/Field/FieldType/ListIntegerItem.php Defines field item properties.
ListIntegerItem::schema function core/modules/options/src/Plugin/Field/FieldType/ListIntegerItem.php Returns the schema for the field.
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::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::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::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::$supportedInterfaceOrClass property core/modules/serialization/src/Normalizer/ListNormalizer.php The interface or class that this Normalizer supports.
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.
ListNormalizerTest::testSupportsNormalization function core/modules/serialization/tests/src/Unit/Normalizer/ListNormalizerTest.php Tests the supportsNormalization() method.
ListStringItem class core/modules/options/src/Plugin/Field/FieldType/ListStringItem.php Plugin implementation of the 'list_string' field type.

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