Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
ec6bedd0
Commit
ec6bedd0
authored
Dec 02, 2012
by
webchick
Browse files
Issue
#1843712
by jenlampton: Remove template_process_book_export_html().
parent
cd8dd173
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/modules/book/book.module
View file @
ec6bedd0
...
@@ -1213,18 +1213,10 @@ function template_preprocess_book_export_html(&$variables) {
...
@@ -1213,18 +1213,10 @@ function template_preprocess_book_export_html(&$variables) {
$variables
[
'head'
]
=
drupal_get_html_head
();
$variables
[
'head'
]
=
drupal_get_html_head
();
// HTML element attributes.
// HTML element attributes.
$variables
[
'html_attributes'
][
'lang'
]
=
$language_interface
->
langcode
;
$attributes
=
array
();
$variables
[
'html_attributes'
][
'dir'
]
=
$language_interface
->
direction
?
'rtl'
:
'ltr'
;
$attributes
[
'lang'
]
=
$language_interface
->
langcode
;
}
$attributes
[
'dir'
]
=
$language_interface
->
direction
?
'rtl'
:
'ltr'
;
$variables
[
'html_attributes'
]
=
new
Attribute
(
$attributes
);
/**
* Processes variables for book-export-html.tpl.php.
*
* @see book-export-html.tpl.php
*/
function
template_process_book_export_html
(
&
$variables
)
{
// Flatten out html_attributes
$variables
[
'html_attributes'
]
=
new
Attribute
(
$variables
[
'html_attributes'
]);
}
}
/**
/**
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment