You are here

public function SecureLoginManager::renderPlaceholderFormAction in Secure Login 8

Lazy builder callback; renders a form action URL including destination.

Return value

array A renderable array representing the form action.

See also

\Drupal\Core\Form\FormBuilder::renderPlaceholderFormAction()

File

src/SecureLoginManager.php, line 132

Class

SecureLoginManager
Defines the secure login service.

Namespace

Drupal\securelogin

Code

public function renderPlaceholderFormAction() {
  $action = UserLoginBlock::renderPlaceholderFormAction();
  $action['#markup'] = $this
    ->secureUrl($action['#markup']);
  return $action;
}