drupal_pre_render_link

drupal_pre_render_link($element) Pre-render callback: Renders a link into #markup. Deprecated in Drupal 8.x, will be removed before Drupal 9.0. Use \Drupal\Core\Render\Element\Link::preRenderLink(). File core/includes/common.inc, line 750 Common functions that many Drupal modules will need to reference. Code function drupal_pre_render_link($element) { return Link::preRenderLink($element); }

drupal_placeholder

drupal_placeholder($text) Formats text for emphasized display in a placeholder inside a sentence. Deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. Use \Drupal\Component\Utility\SafeMarkup::format() or Twig's "placeholder" filter instead. Note this method should not be used to simply emphasize a string and therefore has few valid use-cases. Note also, that this method does not mark the string as safe. See also \Drupal\Component\Utility\SafeMarkup::format() File core/includes/

DRUPAL_PHP_FUNCTION_PATTERN

Regular expression to match PHP function names. See also http://php.net/manual/language.functions.php File core/includes/bootstrap.inc, line 95 Functions that need to be loaded on every Drupal request. Code const DRUPAL_PHP_FUNCTION_PATTERN = '[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*';

DRUPAL_OPTIONAL

Optional option on forms and settings File core/modules/system/system.module, line 54 Configuration system that lets administrators modify the workings of the site. Code const DRUPAL_OPTIONAL = 1;

drupal_move_uploaded_file

drupal_move_uploaded_file($filename, $uri) Moves an uploaded file to a new location. Deprecated in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use \Drupal\Core\File\FileSystem::moveUploadedFile(). Related topics File interface Common file handling functions. File core/includes/file.inc, line 923 API for handling file uploads and server file management. Code function drupal_move_uploaded_file($filename, $uri) { return \Drupal::service('file_system')->moveUploadedFile($file

drupal_mkdir

drupal_mkdir($uri, $mode = NULL, $recursive = FALSE, $context = NULL) Creates a directory, optionally creating missing components in the path to the directory. Deprecated in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use \Drupal\Core\File\FileSystem::mkdir(). Related topics File interface Common file handling functions. File core/includes/file.inc, line 1158 API for handling file uploads and server file management. Code function drupal_mkdir($uri, $mode = NULL, $recursive = F

DRUPAL_MINIMUM_PHP_MEMORY_LIMIT

Minimum recommended value of PHP memory_limit. 64M was chosen as a minimum requirement in order to allow for additional contributed modules to be installed prior to hitting the limit. However, 40M is the target for the Standard installation profile. File core/includes/bootstrap.inc, line 33 Functions that need to be loaded on every Drupal request. Code const DRUPAL_MINIMUM_PHP_MEMORY_LIMIT = '64M';

DRUPAL_MINIMUM_PHP

Minimum supported version of PHP. File core/includes/bootstrap.inc, line 24 Functions that need to be loaded on every Drupal request. Code const DRUPAL_MINIMUM_PHP = '5.5.9';

drupal_maintenance_theme

drupal_maintenance_theme() Enables use of the theme system without requiring database access. Loads and initializes the theme system for site installs, updates and when the site is in maintenance mode. This also applies when the database fails. See also _drupal_maintenance_theme() File core/includes/bootstrap.inc, line 704 Functions that need to be loaded on every Drupal request. Code function drupal_maintenance_theme() { require_once __DIR__ . '/theme.maintenance.inc'; _drupal_maintenan

drupal_load_updates

drupal_load_updates() Loads .install files for installed modules to initialize the update system. File core/includes/install.inc, line 79 API functions for installing modules and themes. Code function drupal_load_updates() { foreach (drupal_get_installed_schema_version(NULL, FALSE, TRUE) as $module => $schema_version) { if ($schema_version > -1) { module_load_install($module); } } }