LockBackendInterface::getLockId

public LockBackendInterface::getLockId() Gets the unique page token for locks. Locks will be wiped out at the end of each page request on a token basis. Return value string File core/lib/Drupal/Core/Lock/LockBackendInterface.php, line 130 Class LockBackendInterface Lock backend interface. Namespace Drupal\Core\Lock Code public function getLockId();

LockBackendInterface::acquire

public LockBackendInterface::acquire($name, $timeout = 30.0) Acquires a lock. Parameters string $name: Lock name. Limit of name's length is 255 characters. float $timeout: (optional) Lock lifetime in seconds. Defaults to 30.0. Return value bool File core/lib/Drupal/Core/Lock/LockBackendInterface.php, line 76 Class LockBackendInterface Lock backend interface. Namespace Drupal\Core\Lock Code public function acquire($name, $timeout = 30.0);

LockBackendInterface

Lock backend interface. Hierarchy interface \Drupal\Core\Lock\LockBackendInterface Related topics Locking mechanisms Functions to coordinate long-running operations across requests. File core/lib/Drupal/Core/Lock/LockBackendInterface.php, line 64 Namespace Drupal\Core\Lock Members Name Modifiers Type Description LockBackendInterface::acquire public function Acquires a lock. LockBackendInterface::getLockId public function Gets the unique page token for locks.

LockBackendAbstract::wait

public LockBackendAbstract::wait($name, $delay = 30) Waits a short amount of time before a second lock acquire attempt. While this method is subject to have a generic implementation in abstract backend implementation, some backends may provide non blocking or less I/O intensive wait mechanism: this is why this method remains on the backend interface. Parameters string $name: Lock name currently being locked. int $delay: Milliseconds to wait for. Defaults to 30. Return value bool TRUE if the l

LockBackendAbstract::getLockId

public LockBackendAbstract::getLockId() Gets the unique page token for locks. Locks will be wiped out at the end of each page request on a token basis. Return value string Overrides LockBackendInterface::getLockId File core/lib/Drupal/Core/Lock/LockBackendAbstract.php, line 68 Class LockBackendAbstract Non backend related common methods implementation for lock backends. Namespace Drupal\Core\Lock Code public function getLockId() { if (!isset($this->lockId)) { $this->lockId

LockBackendAbstract::$locks

Existing locks for this page. Type: array File core/lib/Drupal/Core/Lock/LockBackendAbstract.php, line 24 Class LockBackendAbstract Non backend related common methods implementation for lock backends. Namespace Drupal\Core\Lock Code protected $locks = array();

LockBackendAbstract::$lockId

Current page lock token identifier. Type: string File core/lib/Drupal/Core/Lock/LockBackendAbstract.php, line 17 Class LockBackendAbstract Non backend related common methods implementation for lock backends. Namespace Drupal\Core\Lock Code protected $lockId;

LockBackendAbstract

Non backend related common methods implementation for lock backends. Hierarchy class \Drupal\Core\Lock\LockBackendAbstract implements LockBackendInterface Related topics Locking mechanisms Functions to coordinate long-running operations across requests. File core/lib/Drupal/Core/Lock/LockBackendAbstract.php, line 10 Namespace Drupal\Core\Lock Members Name Modifiers Type Description LockBackendAbstract::$lockId protected property Current page lock token identifier. Lo

LocalTaskManagerInterface::getTitle

public LocalTaskManagerInterface::getTitle(LocalTaskInterface $local_task) Gets the title for a local task. Parameters \Drupal\Core\Menu\LocalTaskInterface $local_task: A local task plugin instance to get the title for. Return value string The localized title. File core/lib/Drupal/Core/Menu/LocalTaskManagerInterface.php, line 26 Class LocalTaskManagerInterface Manages discovery and instantiation of menu local task plugins. Namespace Drupal\Core\Menu Code public function getTitle(Loca

LocalTaskManagerInterface::getTasksBuild

public LocalTaskManagerInterface::getTasksBuild($current_route_name, RefinableCacheableDependencyInterface &$cacheability) Gets the render array for all local tasks. Parameters string $current_route_name: The route for which to make renderable local tasks. \Drupal\Core\Cache\RefinableCacheableDependencyInterface $cacheability: The cacheability metadata for the local tasks. Return value array A render array as expected by menu-local-tasks.html.twig. File core/lib/Drupal/Core/Menu/LocalTask