public function ListInterface::removeItem in Drupal 9
Same name and namespace in other branches
- 8 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);