Projet

Général

Profil

Révision 59e46405

Ajouté par Assos Assos il y a plus de 7 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/entity/entity.module
604 604
 *   content language of the current request.
605 605
 * @param $page
606 606
 *   (optional) If set will control if the entity is rendered: if TRUE
607
 *   the entity will be rendered without its title, so that it can be embeded
607
 *   the entity will be rendered without its title, so that it can be embedded
608 608
 *   in another context. If FALSE the entity will be displayed with its title
609 609
 *   in a mode suitable for lists.
610 610
 *   If unset, the page mode will be enabled if the current path is the URI
......
1377 1377
 * Returns a property wrapper for the given data.
1378 1378
 *
1379 1379
 * If an entity is wrapped, the wrapper can be used to retrieve further wrappers
1380
 * for the entitity properties. For that the wrapper support chaining, e.g. you
1380
 * for the entity properties. For that the wrapper support chaining, e.g. you
1381 1381
 * can use a node wrapper to get the node authors mail address:
1382 1382
 *
1383 1383
 * @code
......
1568 1568
 * Implements hook_ctools_plugin_directory().
1569 1569
 */
1570 1570
function entity_ctools_plugin_directory($module, $plugin) {
1571
  if ($module == 'ctools' && $plugin == 'content_types') {
1572
    return 'ctools/content_types';
1571
  if ($module == 'ctools') {
1572
    return "ctools/$plugin";
1573 1573
  }
1574 1574
}

Formats disponibles : Unified diff