You are here

public static function FormInterface::load in Form Builder 7.2

Load a form configuration cache.

Parameters

string $form_type: The type of form being edited.

mixed $form_id: The unique identifier for the form (within the form_type).

string $sid: User session ID. If NULL session_id() is assumed.

array $params: Additional parameters passed to hook_form_builder_properties().

Return value

A FAPI array if a cache entry was found. Boolean FALSE if an entry does not yet exist. Note that an empty FAPI array may exist, so be sure to use strict comparison (===) when checking return values.

File

src/FormInterface.php, line 43

Class

FormInterface

Namespace

Drupal\form_builder

Code

public static function load($form_type, $form_id, $sid, $params);