You are here

public function WebformSubmissionInterface::toArray in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/WebformSubmissionInterface.php \Drupal\webform\WebformSubmissionInterface::toArray()

Gets an array of all property values.

Parameters

bool $custom: If TRUE, return customized array that contains simplified properties and webform submission (element) data.

bool $check_access: If $custom and $check_access is TRUE, view access is checked for webform submission (element) data.

Return value

mixed[] An array of property values, keyed by property name.

Overrides FieldableEntityInterface::toArray

File

src/WebformSubmissionInterface.php, line 477

Class

WebformSubmissionInterface
Provides an interface defining a webform submission entity.

Namespace

Drupal\webform

Code

public function toArray($custom = FALSE, $check_access = FALSE);