You are here

public function ApigeeEntityListElement::getInfo in Apigee Edge 8

Returns the element properties for this element.

Return value

array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format.

Overrides ElementInterface::getInfo

File

src/Element/ApigeeEntityListElement.php, line 74

Class

ApigeeEntityListElement
Provides an element for listing Apigee entities.

Namespace

Drupal\apigee_edge\Element

Code

public function getInfo() {
  return [
    '#entities' => NULL,
    '#entity_type' => NULL,
    '#view_mode' => NULL,
    '#theme' => 'apigee_entity_list',
    '#pre_render' => [
      [
        $this,
        'preRender',
      ],
    ],
  ];
}