function BreakLockLink::getInfo

Same name in other branches
  1. 9 core/lib/Drupal/Core/TempStore/Element/BreakLockLink.php \Drupal\Core\TempStore\Element\BreakLockLink::getInfo()
  2. 10 core/lib/Drupal/Core/TempStore/Element/BreakLockLink.php \Drupal\Core\TempStore\Element\BreakLockLink::getInfo()
  3. 11.x core/lib/Drupal/Core/TempStore/Element/BreakLockLink.php \Drupal\Core\TempStore\Element\BreakLockLink::getInfo()

Overrides ElementInterface::getInfo

File

core/lib/Drupal/Core/TempStore/Element/BreakLockLink.php, line 96

Class

BreakLockLink
Provides a link to break a tempstore lock.

Namespace

Drupal\Core\TempStore\Element

Code

public function getInfo() {
    return [
        '#pre_render' => [
            [
                $this,
                'preRenderLock',
            ],
        ],
    ];
}

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