You are here

function _document_get_allowed_extensions in Document 8.x

Same name and namespace in other branches
  1. 7 document.module \_document_get_allowed_extensions()
3 calls to _document_get_allowed_extensions()
document_insert in ./document.module
Implementation of hook_insert().
document_settings_form in ./document.admin.inc
document_validate in ./document.module
Implementation of hook_validate().

File

./document.module, line 716

Code

function _document_get_allowed_extensions() {
  $ext = variable_get('document_allowed_extensions', variable_get('upload_extensions_default', 'jpg jpeg gif png txt doc xls pdf ppt pps odt ods odp'));
  return $ext;
}