Tags/topics: 
1
Answers
Vote up!
0
Vote down!

How to see whats available from entity wrapper?

$wrapper = entity_metadata_wrapper('commerce_order', $order)

How do I see everything that is now available to me within $wrapper?

Asked by: thiokol
on March 19, 2014

1 Answer

Vote up!
1
Vote down!

If you're using the Devel module:

kpr($wrapper->values());

delta195
Answer by: delta195
Posted: Mar 20, 2014

Comments

There's also

<?php
 $wrapper
->getPropertyInfo();
?>
but I use
<?php
 dpm
($wrapper->value());
?>
most often.
- Favio Manriquez on March 20, 2014