18.10.2016 Views

Drupal 7 Module Development

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

hook_node_grants_alter()<br />

about 275<br />

using 275-277<br />

hook_page_alter() 81<br />

hook_permission()<br />

about 124, 217<br />

module permissions, defining 218, 219<br />

need for 217<br />

using 218<br />

writing 219<br />

hook_query_alter() 262, 263<br />

hook_stream_wrappers() 320, 324<br />

hook_theme()<br />

about 86, 87<br />

implementing 107<br />

hook_theme_registry_alter 88<br />

hook_user_view()<br />

implementing 213-216<br />

hook implementation 33<br />

HTML<br />

about 10<br />

escaping 377<br />

html_tag, theme hook 92<br />

HyperText Markup Language. See HTML<br />

I<br />

image<br />

node, attaching to 318<br />

image, theme hook 92<br />

image_crop() 326<br />

image_desaturate() function 326, 329<br />

image_effect_color_validate() function 336<br />

image_load() function 326<br />

image_resize() function 326<br />

image_rotate() function 326, 330<br />

image_save() function 326, 330<br />

image_scale() function 326, 330<br />

image_scale_and_crop() function 326<br />

image_style, theme hook 92<br />

Image API 326<br />

Imagecache module 314, 326<br />

imagecolorallocate() function 338<br />

image effects<br />

creating 334-338<br />

Imagefield module 326<br />

ImageMagick library 326<br />

image manipulation functions, <strong>Drupal</strong><br />

image_crop() 326<br />

image_desaturate() 326<br />

image_resize() 326<br />

image_rotate() 326<br />

image_scale() 326<br />

image_scale_and_crop() 326<br />

imagestring() function 338<br />

Image Styles<br />

about 331<br />

working 332, 333<br />

image styles<br />

creating, from module 339-341<br />

inline option 294<br />

innerJoin() method 366<br />

insecure code<br />

handling 379, 380<br />

insert queries 368, 369<br />

installation profiles<br />

about 343<br />

benefits 343<br />

install task system<br />

about 348<br />

selecting 348<br />

instance_settings property 186<br />

item_list, theme hook 93<br />

J<br />

JavaScript<br />

about 10, 287<br />

adding, to .info files 289<br />

adding, to pages 288<br />

altering 299, 300<br />

files, adding 289-291<br />

files, preprocessing 288<br />

inline, adding on page 294<br />

weights 290<br />

JavaScript files<br />

adding 289-291<br />

preprocessing 288<br />

join() methods 366, 367<br />

jQuery.append() function 308<br />

jQuery 1.4.2 287<br />

[ 389 ]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!