18.10.2016 Views

Drupal 7 Module Development

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

K<br />

key() method 371<br />

L<br />

label property 186<br />

leftJoin() method 366<br />

Library API<br />

about 287<br />

defining, with hook_library() function 296<br />

using 295<br />

links, theme hook 93<br />

list_modules block<br />

properties 45<br />

load() method 162<br />

M<br />

mail issues<br />

debugging 146<br />

master/slave database replication 373<br />

menu_block module 92<br />

menu paths<br />

wildcards, using 125<br />

menu router 17<br />

menu system 12, 17, 121<br />

merge queries<br />

about 370<br />

syntax 371<br />

module<br />

block subsystem, using 25<br />

building, steps 26<br />

creating 26<br />

debugging 282<br />

enabling, in install process 347<br />

filesystem layout 28<br />

image styles, creating from 339-341<br />

testing 282<br />

module_exists() function 347<br />

module_invoke() method<br />

about 57<br />

parameters 57<br />

module_invoke_all() function 175<br />

MODULE_preprocess_page() function 76<br />

module directory<br />

creating 29<br />

module names<br />

about 27<br />

human-readable 27<br />

machine-readable 27<br />

more_link, theme hook 93<br />

multi-hook preprocess function 73<br />

MySQL 9<br />

N<br />

new artwork<br />

adding 167-170<br />

node<br />

about 318<br />

attaching, to image 318<br />

creating 318<br />

node_access() function<br />

about 243, 244<br />

documentation 244, 245<br />

hook_node_access(), invoking 247<br />

static cache, optimizing 246, 247<br />

whitelist 246<br />

NODE_ACCESS_ALLOW constant 254<br />

NODE_ACCESS_DENY constant 254<br />

node_access_grants() 249<br />

NODE_ACCESS_IGNORE constant 254<br />

node_access_view_all_nodes() function 262<br />

node_page_default() function 243<br />

node_query_node_access_alter() function<br />

244<br />

Node Access API<br />

about 243<br />

invoking 248-250<br />

need for 243<br />

node access module<br />

enabling 261, 262<br />

versus access control module 261<br />

writing 260<br />

node access system<br />

about 241<br />

versus user access system 242<br />

node module 18<br />

node permissions, <strong>Drupal</strong><br />

granting 242-244<br />

nodes<br />

access, controlling 378, 379<br />

[ 390 ]

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

Saved successfully!

Ooh no, something went wrong!