Drupal Test Helpers module API documentation - release 1.5.1

SettingsStubFactory
in package

A factory for the Drupal's Settings for tests.

@package TestHelpers\DrupalServiceStubs

Table of Contents

Methods

get()  : Settings
Creates a new Settings class.

Methods

get()

Creates a new Settings class.

public static get([array<string|int, mixed> $settings = [] ]) : Settings
Parameters
$settings : array<string|int, mixed> = []

An array with settings values.

Return values
Settings

The Settings class with values.


        
On this page

Search results