function Generic::setType

Set type on initialize.

There is no need to either call or override this method.

@internal

Overrides RenderElementBase::setType

File

core/lib/Drupal/Core/Render/Element/Generic.php, line 28

Class

Generic
Provides a generic, empty element.

Namespace

Drupal\Core\Render\Element

Code

protected function setType() : void {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.