Skip to content

Commit

Permalink
adding additional options for caching
Browse files Browse the repository at this point in the history
  • Loading branch information
iruzevic committed Jun 4, 2024
1 parent aee4e5c commit 2cae058
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/Helpers/UtilsSettingsOutputHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,11 @@ public static function getDataMappedIntegrationMissingFields(): array
/**
* Settings output misc disclaimer.
*
* @param string $type Type of disclaimer.
*
* @return array<string, mixed>
*/
public static function getMiscDisclaimer(): array
public static function getMiscDisclaimer(string $type = ''): array
{
return [
'component' => 'layout',
Expand All @@ -115,7 +117,7 @@ public static function getMiscDisclaimer(): array
[
'component' => 'intro',
'introTitle' => \__('Disclaimer', 'eightshift-forms'),
'introSubtitle' => \__("Eightshift Forms doesn't configure the Wpml app or any other third-party tools. However, enabling this feature adds necessary configurations in the backend for everything to function correctly.", 'eightshift-forms'),
'introSubtitle' => \sprintf(\__("Eightshift Forms doesn't configure the %s app or any other third-party tools. However, enabling this feature adds necessary configurations in the backend for everything to function correctly.", 'eightshift-forms'), esc_html($type)),
],
],
];
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"jira": "<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'><path d='M12.626 10.192 10 12.82a4.643 4.643 0 0 1 0 6.566l8.485-8.486a1 1 0 0 0 0-1.414L10 1a4.643 4.643 0 0 0 0 6.566l2.626 2.626Z' fill='currentColor' fill-opacity='0.12' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/><path d='M7.374 10.192 10 7.566A4.643 4.643 0 0 1 10 1L1.515 9.485a1 1 0 0 0 0 1.415L10 19.384a4.643 4.643 0 0 0 0-6.566l-2.626-2.627Z' fill='currentColor' fill-opacity='0.3' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/></svg>",
"steps": "<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'><rect x='1' y='1' width='7' height='7' rx='1.5' fill='currentColor' fill-opacity='0.12' stroke='currentColor'/><rect x='1' y='10' width='7' height='7' rx='1.5' fill='currentColor' fill-opacity='0.12' stroke='currentColor'/><path fill='currentColor' fill-opacity='0.12' d='M1.5 19h6v1h-6z'/><path d='M1 20a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1' stroke='currentColor' fill='none'/><path d='M10 4.5h7.5M10 14h7.5' stroke='currentColor' stroke-linecap='round' fill='none'/><path d='M4.75 6.5v-4l-1 .8m-.25 8.2h1.25a.75.75 0 0 1 .75.75v.5a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 0-.75.75v1.25h2' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>",
"cloudflare": "<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'><path d='M11.984 13.5H1a3.006 3.006 0 0 1 3.373-2.473 1.502 1.502 0 0 1 2.14-2.105C7.136 7.065 8.677 5.75 10.48 5.75c1.379 0 2.604.768 3.383 1.96l.183.29m1.204 5.5H19V13c0-1.526-.98-2.824-2.345-3.303' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' fill='none'/><path d='M6.5 11.5H11m0 0c1.167 0 3-1 4-2.5 0 .833.4 2.5 2 2.5-1 0-3.1.4-3.5 2 0-.667-.9-2-2.5-2Z' stroke='currentColor' stroke-opacity='0.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>",
"wprocket": "<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'><path d='M5 1H2.5L6 13.5h.5l3.25-7h.5l3.25 7h.5L17.5 1H15l-1.5 6-3-6h-1l-3 6L5 1Z' fill='currentColor' fill-opacity='0.12' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/><path d='M7.5 15.25 10 9.5l2.5 5.75-1 3.75-1.5-2-1.5 2-1-3.75Z' fill='currentColor' fill-opacity='0.5' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/></svg>",
"rocketCache": "<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'><path d='M5 1H2.5L6 13.5h.5l3.25-7h.5l3.25 7h.5L17.5 1H15l-1.5 6-3-6h-1l-3 6L5 1Z' fill='currentColor' fill-opacity='0.12' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/><path d='M7.5 15.25 10 9.5l2.5 5.75-1 3.75-1.5-2-1.5 2-1-3.75Z' fill='currentColor' fill-opacity='0.5' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round'/></svg>",
"security": "<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' width='20' height='20' fill='none'><rect x='3' y='9' width='14' height='10' rx='1' stroke='currentColor' stroke-linejoin='round' fill='none'></rect><path d='M15 9V5.8C15 3.149 12.761 1 10 1S5 3.149 5 5.8V9' stroke='currentColor' fill='none'></path><circle cx='10' cy='13.25' r='0.75' stroke='currentColor' fill='none'></circle><path d='M10 14v1.5' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' fill='none'></path></svg>",
"wpml": "<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'><path d='M16.374 16.701c.433 1.724-.542 2.515-1.084 2.694-1.373.273-1.877-.016-2.061-.539-.216-.359-.54-1.077-.107-1.077.433 0 .252.718.107 1.077.184.523.688.812 2.06.54.543-.18 1.518-.97 1.085-2.695-.434-1.724-2.348-1.437-3.252-1.078-1.445.719-4.985 1.617-7.586-.538C2.284 12.39.658 7.54 3.368 3.769 5.536.752 9.329.357 10.955.536 13.303.716 18 2.476 18 8.08c0 5.604-2.529 6.286-3.793 5.927-1.575-.539-3.996-2.479-1.084-5.927 2.912-3.449 1.134-4.887 0-5.388-1.626-.719-5.528-1.293-8.129 2.155-2.6 3.448-.723 8.262.542 10.238 2.6 2.155 6.141 1.257 7.586.538.903-.359 2.818-.646 3.252 1.078Z' fill='currentColor' fill-opacity='0.3'/><path d='M13.122 17.779c0 .395 0 .775.107 1.077m-.107-1.077c.433 0 .252.718.107 1.077m-.107-1.077c-.434 0-.11.718.107 1.077m-7.693-3.771c2.6 2.155 6.141 1.257 7.586.538.903-.359 2.818-.646 3.252 1.078.433 1.724-.542 2.515-1.084 2.694-1.373.273-1.877-.016-2.061-.539m-7.693-3.771C2.284 12.39.658 7.54 3.368 3.769 5.536.752 9.329.357 10.955.536 13.303.716 18 2.476 18 8.08c0 5.604-2.529 6.286-3.793 5.927-1.575-.539-3.996-2.479-1.084-5.927 2.912-3.449 1.134-4.887 0-5.388-1.626-.719-5.528-1.293-8.129 2.155-2.6 3.448-.723 8.262.542 10.238Z' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' fill='none'/></svg>",
"pipedrive": "<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'><path fill-rule='evenodd' clip-rule='evenodd' d='M3 4.5V1h4.5L8 3l1.5-1 2-.5L15 3l2 3.5-.5 4-2.5 3-3 1L8 13v6H4.5V4.5H3Zm7.5.5L9 6l-.5 2 1 2.5 2 .5 2-2-.5-3-1.5-1h-1Z' fill='currentColor' fill-opacity='0.3'/><ellipse cx='11.0506' cy='8' rx='2.45' ry='3.15' stroke='currentColor' stroke-linejoin='round' fill='none'/><path d='M6.9 1H3v3.5h1.4v14.7h3.5v-6.282c.959.865 2.176 1.382 3.5 1.382 3.093 0 5.6-2.82 5.6-6.3s-2.507-6.3-5.6-6.3c-1.324 0-2.541.517-3.5 1.382V2a1 1 0 0 0-1-1Z' stroke='currentColor' stroke-linejoin='round' fill='none'/></svg>",
Expand Down

0 comments on commit 2cae058

Please sign in to comment.