public function CommerceLicenseExample::accessDetails in Commerce License 7
Implements CommerceLicenseInterface::accessDetails().
Overrides CommerceLicenseBase::accessDetails
File
- modules/
commerce_license_example/ plugins/ license_type/ CommerceLicenseExample.class.php, line 43
Class
- CommerceLicenseExample
- Example license type.
Code
public function accessDetails() {
// Just display the name field.
$output = field_view_field('commerce_license', $this, 'cle_name');
return drupal_render($output);
}