function OrderInterface::getOperation

Gets order operations specified by this object.

Parameters

string $identifier: Identifier of the implementation to move to a new position. The format is the class followed by "::" then the method name. For example, "Drupal\my_module\Hook\MyModuleHooks::methodName".

Return value

\Drupal\Core\Hook\OrderOperation\OrderOperation Order operation to apply to a hook implementation list.

1 method overrides OrderInterface::getOperation()
RelativeOrderBase::getOperation in core/lib/Drupal/Core/Hook/Order/RelativeOrderBase.php
Gets order operations specified by this object.

File

core/lib/Drupal/Core/Hook/Order/OrderInterface.php, line 40

Class

OrderInterface
Interface for order specifiers used in hook attributes.

Namespace

Drupal\Core\Hook\Order

Code

public function getOperation(string $identifier) : OrderOperation;

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