Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
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
drupal
Commits
7b5662f5
Commit
7b5662f5
authored
5 years ago
by
Angie Byron
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3083444
by alisonjo315: Duplicate "attributes" in docblock
parent
5a7951f2
No related branches found
No related tags found
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/modules/image/image.module
+2
-2
2 additions, 2 deletions
core/modules/image/image.module
with
2 additions
and
2 deletions
core/modules/image/image.module
+
2
−
2
View file @
7b5662f5
...
@@ -277,7 +277,6 @@ function image_style_options($include_empty = TRUE) {
...
@@ -277,7 +277,6 @@ function image_style_options($include_empty = TRUE) {
* - width: The width of the image.
* - width: The width of the image.
* - height: The height of the image.
* - height: The height of the image.
* - style_name: The name of the image style to be applied.
* - style_name: The name of the image style to be applied.
* - attributes: Additional attributes to apply to the image.
* - uri: URI of the source image before styling.
* - uri: URI of the source image before styling.
* - alt: The alternative text for text-based browsers. HTML 4 and XHTML 1.0
* - alt: The alternative text for text-based browsers. HTML 4 and XHTML 1.0
* always require an alt attribute. The HTML 5 draft allows the alt
* always require an alt attribute. The HTML 5 draft allows the alt
...
@@ -291,7 +290,8 @@ function image_style_options($include_empty = TRUE) {
...
@@ -291,7 +290,8 @@ function image_style_options($include_empty = TRUE) {
* - http://dev.w3.org/html5/spec/Overview.html#alt
* - http://dev.w3.org/html5/spec/Overview.html#alt
* - title: The title text is displayed when the image is hovered in some
* - title: The title text is displayed when the image is hovered in some
* popular browsers.
* popular browsers.
* - attributes: Associative array of attributes to be placed in the img tag.
* - attributes: Associative array of additional attributes to be placed in
* the img tag.
*/
*/
function
template_preprocess_image_style
(
&
$variables
)
{
function
template_preprocess_image_style
(
&
$variables
)
{
$style
=
ImageStyle
::
load
(
$variables
[
'style_name'
]);
$style
=
ImageStyle
::
load
(
$variables
[
'style_name'
]);
...
...
This diff is collapsed.
Click to expand it.
Angie Byron
@webchick
mentioned in commit
fd1ad573
·
5 years ago
mentioned in commit
fd1ad573
mentioned in commit fd1ad573e9fad0242ec273eb4b30de3627b33dd2
Toggle commit list
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