Module drupal

Source
Expand description

Functionality that’s specific to Drupal.

Structs§

Login
Parameters that define how to log into a Drupal website and validate that the user loged in successfully. For complete documentation, refer to LoginBuilder.
LoginBuilder
Used to build a Login object, necessary to invoke the log_in function.
SearchParams
Parameters that define how to make and validate a search. For complete documentation, refer to SearchParamsBuilder.
SearchParamsBuilder
Used to build a SearchParams object, necessary to invoke the search function.

Functions§

get_bigpipe_form
Use a regular expression to get a specific form that has been encoded to replace a BigPipe placeholder, identified by the data-drupal-selector.
get_encoded_form_value
Load a form value from an encoded form.
get_encoded_form_values
Loop through an array of named form elements loading them from an encoded form and returning their values in a HashMap.
get_form
Use a regular expression to get the specific form identified by data-drupal-selector.
get_form_value
Use regular expression to get the value of a named form element.
get_form_values
Loop through an array of named form elements returning their values in a HashMap.
get_updated_build_id
Extract an updated build_id from a form.
log_in
Log into a Drupal website.
search
Perform a simple Drupal-powered search.