Skip to main content
Home
Drupal API Help
Helping Drupal Community, One API at a time

Main menu

  • Home
  • Drupal Core
  • Getting Help

You are here

Home » API reference » Coder 8.3 » example.module

function test4 in Coder 8.3

Same name in this branch
  1. 8.3 tests/DrupalPractice/CodeAnalysis/VariableAnalysisUnitTest.inc \test4()
  2. 8.3 tests/DrupalPractice/good/good.php \test4()
  3. 8.3 tests/Drupal/Commenting/FunctionCommentUnitTest.inc \test4()
  4. 8.3 tests/Drupal/bad/bad.php \test4()
  5. 8.3 tests/DrupalPractice/Objects/drupal8/example.module \test4()
Same name and namespace in other branches
  1. 8.2 coder_sniffer/DrupalPractice/Test/good/good.php \test4()
  2. 8.2 coder_sniffer/Drupal/Test/Commenting/FunctionCommentUnitTest.inc \test4()
  3. 8.2 coder_sniffer/Drupal/Test/bad/bad.php \test4()
  4. 8.2 coder_sniffer/Drupal/Test/good/good.php \test4()
  5. 7.2 coder_sniffer/Test/bad/bad.php \test4()
  6. 8.3.x tests/DrupalPractice/CodeAnalysis/VariableAnalysisUnitTest.inc \test4()
  7. 8.3.x tests/DrupalPractice/good/good.php \test4()
  8. 8.3.x tests/Drupal/Commenting/FunctionCommentUnitTest.inc \test4()
  9. 8.3.x tests/Drupal/bad/bad.php \test4()
  10. 8.3.x tests/DrupalPractice/Objects/drupal8/example.module \test4()

Using t() is allowed since we run in the global namespace.

File

tests/DrupalPractice/Objects/drupal8/example.module, line 27

Code

function test4() {
  return t('Test');
}

API Navigation

  • Coder 8.3
  • Topics
  • Classes
  • Functions
  • Files
  • Namespaces
  • Services
  • Constants
  • Globals
  • Deprecated

Drupal is a registered trademark of Dries Buytaert. This site is not affiliated with Dries Buytaert, Drupal Association or Drupal.org.