You are here

public function BuildHookDetails::getBody in Build Hooks 8.2

Same name and namespace in other branches
  1. 3.x src/BuildHookDetails.php \Drupal\build_hooks\BuildHookDetails::getBody()

Get the body.

Return value

array The body.

Deprecated

in build_hooks:8.x-2.4 and is removed from build_hooks:8.x-3.0. The getBody() method is depcrecated. Use getOptions() method instead.

See also

https://www.drupal.org/node/3173753

File

src/BuildHookDetails.php, line 93

Class

BuildHookDetails
Class BuildHookDetails.

Namespace

Drupal\build_hooks

Code

public function getBody() : array {
  @trigger_error(__METHOD__ . ' is deprecated in build_hooks:8.x-2.4 and is removed from build_hooks:8.x-3.0. Instead, you should use Drupal\\build_hooks\\BuildHookDetails::getOptions. See https://www.drupal.org/node/3173753', E_USER_DEPRECATED);
  return $this->options;
}