Pimcore\WorkflowManagement\Workflow\Manager::getNotesRequiredForAction PHP Метод

getNotesRequiredForAction() публичный Метод

Returns whether or not notes are required for a given action on the current object Assumes the action is valid at that point in time
public getNotesRequiredForAction ( string $actionName ) : boolean
$actionName string
Результат boolean
    public function getNotesRequiredForAction($actionName)
    {
        $actionConfig = $this->getWorkflow()->getActionConfig($actionName, $this->getElementStatus());
        return isset($actionConfig['notes']['required']) ? (bool) $actionConfig['notes']['required'] : false;
    }