Please note that the API version is an internal number and does not match release numbers. It is entirely possible that releases will not increase the API version number, and increasing this number too often would burden contrib module maintainers who need to keep up with API changes.
Please note that the API version is an internal number and does not match release numbers. It is entirely possible that releases will not increase the API version number, and increasing this number too often would burden contrib module maintainers who need to keep up with API changes.
This file contains a log of changes to the API.
This file contains a log of changes to the API.
API Version 2.0.9
Changed import permissions to use the new 'use ctools import' permission.
'description'=>'The type of the object this cache is attached to; this essentially represents the owner so that several sub-systems can use this cache.',
@@ -1398,6 +1409,21 @@ function page_manager_handler_add_form($form, $form_state, $features = array())
...
@@ -1398,6 +1409,21 @@ function page_manager_handler_add_form($form, $form_state, $features = array())
'#title'=>t('Title'),
'#title'=>t('Title'),
'#description'=>t('Administrative title of this variant. If you leave blank it will be automatically assigned.'),
'#description'=>t('Administrative title of this variant. If you leave blank it will be automatically assigned.'),
);
);
$form['name']=array(
'#type'=>'machine_name',
'#title'=>t('Machine name'),
'#required'=>FALSE,
'#description'=>t("A unique machine-readable name for this variant. It must only contain lowercase letters, numbers, and underscores. This name will be used when exporting the variant. If left empty the variant's name will be used instead."),
@@ -224,6 +224,23 @@ function page_manager_http_response_edit_settings($form, &$form_state) {
...
@@ -224,6 +224,23 @@ function page_manager_http_response_edit_settings($form, &$form_state) {
'#description'=>t('Administrative title of this variant.'),
'#description'=>t('Administrative title of this variant.'),
);
);
$name=isset($conf['name'])?$conf['name']:FALSE;
$form['name']=array(
'#type'=>'machine_name',
'#title'=>t('Machine name'),
'#required'=>FALSE,
'#default_value'=>$name,
'#description'=>t("A unique machine-readable name for this variant. It must only contain lowercase letters, numbers, and underscores. This name will be used when exporting the variant. If left empty the variant's name will be used instead."),
$link=l(t("'%title' [%type id %id]",array('%title'=>$info->{$entity['entity keys']['label']},'%type'=>$plugin['keyword'],'%id'=>$conf['entity_id'])),$uri['path'],array('attributes'=>array('target'=>'_blank','title'=>t('Open in new window')),'html'=>TRUE));
}
elseif(is_array($uri)){
$link=l(t("[%type id %id]",array('%type'=>$plugin['keyword'],'%id'=>$conf['entity_id'])),$uri['path'],array('attributes'=>array('target'=>'_blank','title'=>t('Open in new window')),'html'=>TRUE));
}
elseif($entity['entity keys']['label']){
$link=l(t("'%title' [%type id %id]",array('%title'=>$info->{$entity['entity keys']['label']},'%type'=>$plugin['keyword'],'%id'=>$conf['entity_id'])),file_create_url($uri),array('attributes'=>array('target'=>'_blank','title'=>t('Open in new window')),'html'=>TRUE));
}
else{
$link=t("[%type id %id]",array('%type'=>$plugin['keyword'],'%id'=>$conf['entity_id']));
}
$form['settings']['entity']['#description']=t('Currently set to !link',array('!link'=>$link));