public function FeedsLdapQueryFetcher::sourceForm in Lightweight Directory Access Protocol (LDAP) 7
Same name and namespace in other branches
- 8.2 ldap_feeds/FeedsLdapQueryFetcher.inc \FeedsLdapQueryFetcher::sourceForm()
- 7.2 ldap_feeds/FeedsLdapQueryFetcher.inc \FeedsLdapQueryFetcher::sourceForm()
Override parent::sourceForm().
File
- ldap_feeds/
FeedsLdapQueryFetcher.inc, line 96 - FeedsLdapQueryFetcher
Class
- FeedsLdapQueryFetcher
- Fetches data via LDAP Query.
Code
public function sourceForm($source_config) {
$tokens = array(
'!edit_link' => l(t('Edit Feed'), 'admin/structure/feeds/edit/' . $this->id),
);
$form_state = array();
$form = $this
->configForm($form_state);
$form['preamble'] = array(
'#type' => 'markup',
'#markup' => t('This import is configured at !edit_link.', $tokens),
);
return $form;
}