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