W3cubDocs

/Drupal 8

public function ListInterface::removeItem

public ListInterface::removeItem($index)

Removes the item at the specified position.

Parameters

int $index: Index of the item to remove.

Return value

$this

File

core/lib/Drupal/Core/TypedData/ListInterface.php, line 113

Class

ListInterface
Interface for a list of typed data.

Namespace

Drupal\Core\TypedData

Code

public function removeItem($index);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!TypedData!ListInterface.php/function/ListInterface::removeItem/8.1.x