function ListInterface::removeItem
Same name in other branches
- 8.9.x core/lib/Drupal/Core/TypedData/ListInterface.php \Drupal\Core\TypedData\ListInterface::removeItem()
- 10 core/lib/Drupal/Core/TypedData/ListInterface.php \Drupal\Core\TypedData\ListInterface::removeItem()
- 11.x core/lib/Drupal/Core/TypedData/ListInterface.php \Drupal\Core\TypedData\ListInterface::removeItem()
Removes the item at the specified position.
Parameters
int $index: Index of the item to remove.
Return value
$this
1 method overrides ListInterface::removeItem()
- ItemList::removeItem in core/
lib/ Drupal/ Core/ TypedData/ Plugin/ DataType/ ItemList.php - Removes the item at the specified position.
File
-
core/
lib/ Drupal/ Core/ TypedData/ ListInterface.php, line 113
Class
- ListInterface
- Interface for a list of typed data.
Namespace
Drupal\Core\TypedDataCode
public function removeItem($index);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.