HEX
Server: Apache
System: Linux dev.epsylon.net 3.10.0-1160.144.1.el7.tuxcare.els2.x86_64 #1 SMP Sun Feb 15 11:22:42 UTC 2026 x86_64
User: nexper (1054)
PHP: 8.2.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/nexper/public_html/sites/all/modules/entity/modules/book.info.inc
<?php

/**
 * @file
 * Provides info about book nodes.
 */

/**
 * Implements hook_entity_property_info_alter() on top of book module.
 *
 * @see entity_entity_property_info_alter()
 */
function entity_metadata_book_entity_property_info_alter(&$info) {
  // Add meta-data about the added node properties.
  $properties = &$info['node']['properties'];

  $properties['book'] = array(
    'label' => t("Book"),
    'type' => 'node',
    'description' => t("If part of a book, the book to which this book page belongs."),
    'getter callback' => 'entity_metadata_book_get_properties',
  );
}