You are here

public function TamperItem::getSource in Tamper 8

Returns the whole item as an array.

Return value

array An array of the source data.

Overrides TamperableItemInterface::getSource

File

src/TamperItem.php, line 15

Class

TamperItem
Defines a single tamper item class.

Namespace

Drupal\tamper

Code

public function getSource() {
  return get_object_vars($this);
}