Collection nodes are visible only to the author node and users with permission "bypass node access"
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
langcode: en | |
status: true | |
dependencies: { } | |
id: ya_node_article | |
migration_tags: null | |
migration_group: ya_example | |
label: 'Nodes (Article)' | |
source: | |
plugin: d7_node | |
node_type: article |
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
field_drupal8_pages: | |
plugin: migration | |
migration: ya_node_page | |
source: field_drupal6_pages | |
field_drupal8_xxx: | |
plugin: migration | |
migration: | |
- ya_node_xy | |
- ya_node_xx |
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
leaflet: | |
js: | |
/libraries/vendor/leaflet/leaflet.js: {} | |
css: | |
component: | |
/libraries/vendor/leaflet/leaflet.css: {} |
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
<input type="search" id="autocomplete-dataset" class="form-control" placeholder="Search for vacation rentals or cities" /> | |
<script src="https://cdn.jsdelivr.net/algoliasearch/3/algoliasearchLite.min.js"></script> | |
<script src="https://cdn.jsdelivr.net/autocomplete.js/0/autocomplete.js"></script> | |
<style> | |
.algolia-autocomplete { | |
width: 100%; | |
} | |
.ad-example-dropdown-menu { | |
width: 100%; |
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 | |
public function simple() { | |
$is_authenticated = \Drupal::currentUser()->isAuthenticated(); | |
$content = 'Hello World'; | |
$build = [ | |
'#theme' => 'page_example_map_it', | |
'#is_authenticated' => $is_authenticated, | |
'#action_form' => $content, | |
'#cache' => [ |
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
function deparam(params, coerce) { | |
var obj = {}, coerce_types = { 'true': !0, 'false': !1, 'null': null }; | |
// Iterate over all name=value pairs. | |
$.each(params.replace( /\+/g, ' ').split('&'), function(j, v) { | |
var param = v.split('='), | |
key = decodeURIComponent(param[0]), | |
val, | |
cur = obj, | |
i = 0, |
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 | |
namespace Drupal\address\Plugin\search_api\processor; | |
use Drupal\Component\Utility\Html; | |
use Drupal\Component\Render\FormattableMarkup; | |
use Drupal\Core\Form\FormStateInterface; | |
use Drupal\search_api\Processor\FieldsProcessorPluginBase; | |
/** |
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 | |
* Capacitype Overrides for Pantheon environment configuration file. | |
* | |
* This enforces logic that for all pantheon environments the following gets enforced : | |
* a.) Except for live envinroment, sending mail as logs in devel temp directory. | |
* b.) Search API algolia : assets2algolia & topics2algolia are only enabled on LIVE pantheon envinroments. | |
* c.) Enforce find-it active search index for live environment only. |
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 | |
/** | |
* Load services definition file. | |
*/ | |
$settings['container_yamls'][] = __DIR__ . '/services.yml'; | |
/** | |
* Include the Pantheon-specific settings file. | |
* |