You are here

function simplemeta_form_description in Simple Meta 7

Same name and namespace in other branches
  1. 6.2 simplemeta.module \simplemeta_form_description()

Meta description form element callback.

Parameters

object $meta: meta data

Return value

array form element

2 string references to 'simplemeta_form_description'
hook_simplemeta_info in ./simplemeta.api.php
Return information about SimpleMeta property.
simplemeta_simplemeta_info in ./simplemeta.module
Implements hook_simplemeta_info().

File

./simplemeta.module, line 220
SimpleMeta module.

Code

function simplemeta_form_description($meta) {
  $form = array(
    '#type' => 'textarea',
    '#title' => t('Description'),
    '#default_value' => isset($meta->data['description']) ? $meta->data['description'] : '',
  );
  return $form;
}