Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

drupal 8 get enabled languages

$langcodes = Drupal::languageManager()->getLanguages();
$langcodesList = array_keys($langcodes);
Source by stefvanlooveren.me #
 
PREVIOUS NEXT
Tagged: #drupal #enabled #languages
ADD COMMENT
Topic
Name
4+7 =