This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @file | |
* Install, update and uninstall functions for my module. | |
*/ | |
use Drupal\Core\Database\Database; | |
use Drupal\Core\Language\LanguageInterface; | |
/** |
Název | Web | Poznámka |
---|---|---|
Pragulic | http://olomouc-pragulic.cz | |
Arcibiskupský palác + muzeum | http://www.arcibiskupskypalac.cz/cs/dom.html | |
Durancia | https://www.durancia.cz/ | prohlídky historického podzemí |
Dóm sv. Václava | http://www.katedralaolomouc.cz/FixPage.asp?ID=9 | |
Palmový skleník | http://www.flora-ol.cz/oteviraci-doba-vstupne-opening-hours-admission-offnungszeiten-eintrittspreise | |
Radniční věž | http://tourism.olomouc.eu/tourism/information-centre/tour-the-town-hall-tower/cs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[current-user:field_personal_consent:value] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Drupal\Core\Entity\EntityInterface; | |
use Drupal\Core\Form\FormStateInterface; | |
use Drupal\Component\Utility\Html; | |
use Drupal\moli_user\Service\UserNotifications; | |
+use Drupal\system\Entity\Action; | |
/** | |
* Implements hook_theme(). | |
*/ | |
function moli_user_theme($existing, $type, $theme, $path) { |
Prosím o setavení testu z 1. modulu Acquia certifikace. Testovány by měly být tyto oblasti:
Demonstrate knowledge of HTML and CSS
Identify Javascript and jQuery programing concepts
Demonstrate the use of Git for version control
Podařilo se mi najít několik příkladů otázek, které se objevily ve skutečném testu. Takže by to mělo být v nějaké podobné podrobnosti a složitosti:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Implementation of hook_post_features_revert(). | |
*/ | |
function hari_article_post_features_revert($component) { | |
if ($component === 'field_instance') { | |
$field_instance = field_info_instance('node', 'field_image', 'article'); | |
$data = file_get_contents(drupal_get_path('theme', 'hari') . '/images/small_ph_ph_img_rgb_hartmanninaction_ms1.jpg'); | |
$file = file_save_data($data, 'public://article_teaser_default.jpg', FILE_EXISTS_RENAME); | |
$field_instance['settings']['default_image'] = $file->fid; | |
field_update_instance($field_instance); |
Modul default_content_deploy. Prenos souboru resi submodul, který zatím nefunguje. Export obsahu do GITu Ruzne UUId v instalacich - problemy pri exportu a importu configu
- Schema. Org nejvetsi vyznam ma aggregated rating (zobrazí se jako hvězdičky)
- dá se pouzit i jako voditko toho, jake fieldy maji smysl pro danou domenu
- RDF UI nebo Configuration Management
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git log master ^origin/master --no-merges |