You are here

function php_disable in Drupal 7

Same name and namespace in other branches
  1. 6 modules/php/php.install \php_disable()

Implements hook_disable().

File

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.'));
}