By editor, 2 December, 2015 Create taxonomy term programmatically on Drupal 8 Tags Drupal 8 Taxonomy Code Example : Create a terom of the vocabulary 'test_vocabulary'
By editor, 1 December, 2015 Get all languas of the site in Drupal 8 Tags Drupal 8 Code Translation To get languages in English: $site_languages = \Drupal::languageManager()->getLanguages(); To get languages in native language: $site_languages = \Drupal::languageManager()->getNativeLanguages();
By editor, 1 December, 2015 Download a file from URL Tags Drupal 8 Code Example: $url = "http://domain.ext/filename.txt"; $result = system_retrieve_file($url, $destination = NULL, $managed = FALSE, $replace = FILE_EXISTS_REPLACE);
By editor, 28 November, 2015 Create and translate a multilingual nodes programmatically. Tags Drupal 8 Code Translation Node Programmatically create and translate nodes.