You are here

public function ParagraphOperations::getInfo in Paragraphs 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 Operations::getInfo

File

src/Element/ParagraphOperations.php, line 18

Class

ParagraphOperations
Plugin annotation @RenderElement("paragraph_operations");

Namespace

Drupal\paragraphs\Element

Code

public function getInfo() {
  return [
    '#theme' => 'links__dropbutton__operations__paragraphs',
  ] + parent::getInfo();
}