function php_disable

7.x php.install php_disable()
6.x php.install php_disable()

Implements hook_disable().

File

drupal-7.x/modules/php/php.install, line 43
Install, update and uninstall functions for the php module.

Code

function php_disable() {
  drupal_set_message(t('The PHP module has been disabled. Any existing content that was using the PHP filter will now be visible in plain text. This might pose a security risk by exposing sensitive information, if any, used in the PHP code.'));
}