You are here

public static function PatternSettings::processPreviewSettings in UI Patterns Settings 8

Same name and namespace in other branches
  1. 8.2 src/Element/PatternSettings.php \Drupal\ui_patterns_settings\Element\PatternSettings::processPreviewSettings()

Process settings for preview.

Parameters

array $element: Render array.

Return value

array Render array.

File

src/Element/PatternSettings.php, line 24

Class

PatternSettings
Renders a pattern element.

Namespace

Drupal\ui_patterns_settings\Element

Code

public static function processPreviewSettings(array $element) {
  return PatternSettings::processSettings($element, TRUE);
}