function syntaxhighlighter_install in Syntax Highlighter 7
Same name and namespace in other branches
- 8 syntaxhighlighter.install \syntaxhighlighter_install()
- 6.2 syntaxhighlighter.install \syntaxhighlighter_install()
- 6 syntaxhighlighter.install \syntaxhighlighter_install()
- 7.2 syntaxhighlighter.install \syntaxhighlighter_install()
@file Syntax highlighter module installation file.
File
- ./
syntaxhighlighter.install, line 8 - Syntax highlighter module installation file.
Code
function syntaxhighlighter_install() {
$t = get_t();
$message = $t('You must <a href="!link">turn on the Syntaxhighlighter filter</a> in an input format to syntax highlight code using that format.', array(
'!link' => url('admin/config/content/formats'),
));
$message .= ' ' . $t('Then <a href="!link">configure the Syntax Highlighter module</a>.', array(
'!link' => url('admin/config/content/syntaxhighlighter'),
));
$message .= ' ' . $t('See <a href="!link">the Syntaxhighlighter module README.txt file</a> for instructions.', array(
'!link' => url(drupal_get_path('module', 'syntaxhighlighter') . '/README.txt'),
));
drupal_set_message($message, 'status');
}