Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iframe_resizer
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
iframe_resizer
Commits
3d0d998d
Commit
3d0d998d
authored
2 years ago
by
Joshua Sedler
Committed by
Julian Pustkuchen
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3347926
: Resolve all Drupal Coding Standard issues
parent
3af135f8
No related branches found
No related tags found
1 merge request
!6
Issue #3347926: Resolve all Drupal Coding Standard issues
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
iframe_resizer.api.php
+2
-2
2 additions, 2 deletions
iframe_resizer.api.php
src/Form/IframeResizerSettingsForm.php
+150
-146
150 additions, 146 deletions
src/Form/IframeResizerSettingsForm.php
with
152 additions
and
148 deletions
iframe_resizer.api.php
+
2
−
2
View file @
3d0d998d
...
...
@@ -16,7 +16,7 @@
* @link https://github.com/davidjbradshaw/iframe-resizer iFrame Resizer
* documentation @endlink for the full list of supported parameters.
*/
function
hook_iframe_resizer_host_settings_alter
(
&
$settings
)
{
function
hook_iframe_resizer_host_settings_alter
(
array
&
$settings
)
{
// Alter the iFrame Resizer host settings.
$settings
[
'override_defaults'
]
=
TRUE
;
$settings
[
'options'
][
'log'
]
=
FALSE
;
...
...
@@ -34,7 +34,7 @@ function hook_iframe_resizer_host_settings_alter(&$settings) {
* @link https://github.com/davidjbradshaw/iframe-resizer iFrame Resizer
* documentation @endlink for the full list of supported parameters.
*/
function
hook_iframe_resizer_hosted_settings_alter
(
&
$settings
)
{
function
hook_iframe_resizer_hosted_settings_alter
(
array
&
$settings
)
{
// Alter the iFrame Resizer host settings.
$settings
[
'targetOrigin'
]
=
'https://google.com'
;
$settings
[
'heightCalculationMethod'
]
=
'max'
;
...
...
This diff is collapsed.
Click to expand it.
src/Form/IframeResizerSettingsForm.php
+
150
−
146
View file @
3d0d998d
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment