This project is not covered by Drupal’s security advisory policy.

You should only use this module if:

- You are Drupal developer
- You are using entity api
- You are using an IDE.
- You understand

entity_metadata_wrapper('node', $node = node_load(1))
    ->field_no_autocomplete
    ->unhappy();

- Don't need extra code on production site

Usage

drush entity_hint > private/files/entity_hint.php

After running Drush command, we have generated code look like this:

cat private/files/entity_hint.php


/**
 * Nodes represent the main site content items.
 *
 * @fieldable yes
 * @configuration no
 * @label Node
 */
class NodeArticleMetadataWrapper extends EntityDrupalWrapper 
{

    /**
     * Node ID
     *
     * The unique ID of the node.
     *
     * @property
     * @var EntityValueWrapper integer
     */
    public $nid = null;

    // …
}

Include the file in your IDE.

Similar module

- https://www.drupal.org/project/wrappers_delight

Supporting organizations: 
Start project
Current Maintenance

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • Project categories: Developer tools
  • Created by thehong on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases