Alias: "Paragraphs-SDC"
sequenceDiagram
Entity->>Paragraph: Field<br/>`field_sdc_components`
Paragraph->>Theme: Theme override
Information Input: | |
- Estimating the Quantifiable Characteristics of Products, Events, or Information: | |
Description: Estimating sizes, distances, and quantities; or determining time, costs, resources, or materials needed to perform a work activity. | |
- Getting Information: | |
Description: Observing, receiving, and otherwise obtaining information from all relevant sources. | |
- Identifying Objects, Actions, and Events: | |
Description: Identifying information by categorizing, estimating, recognizing differences or similarities, and detecting changes in circumstances or events. | |
- Inspecting Equipment, Structures, or Material: | |
Description: Inspecting equipment, structures, or materials to identify the cause of errors or other problems or defects. | |
- Monitor Processes, Materials, or Surroundings: |
<?php | |
namespace Drupal\cmt_course_index; | |
use Solarium\Client; | |
use Drupal\cmt_course\Entity\Course; | |
use Drupal\cmt_solr_connection\SolrConnection; | |
/** | |
* Class Indexer |
<?php | |
namespace Drupal\cmt_solr_connection; | |
use Drupal\Core\Config\ConfigFactory; | |
/** | |
* Class SolrConnection | |
*/ | |
class SolrConnection { |
<?php | |
/** | |
* Solr Query Proxy. | |
* - For use with Solarium Query Objects only. | |
*/ | |
error_reporting(0); | |
require __DIR__ . '/../vendor/autoload.php'; |
<?php | |
// Callback URLS | |
if (!$_sds_mywow_strengths_obj->setCallbackUri([ | |
'quiz' => 'start.aspx', | |
'results' => 'start.aspx', /* Same as quiz but diferent uri param.*/ | |
'xmlResults' => 'SDSRequests/resultsXML.aspx', | |
'reset' => 'SDSRequests/AJAX_resetProgress.aspx', | |
'progress' => 'SDSRequests/AJAX_getProgress.aspx' | |
]) |
/** | |
* Page for application. | |
*/ | |
function MYMODULE_application_page_callback() { | |
global $user; | |
drupal_add_html_head([ | |
'#tag' => 'base', | |
'#attributes' => array( |
<?php | |
/** | |
* MYAPP webpack application container | |
*/ | |
?> | |
<div id="MYAPP" data-uuid="<?php print $data['uuid']; ?>" data-csrf="<?php print $data['csrf']; ?>"> | |
<?php foreach ($data['css'] as $css): ?> | |
<link href="/<?php print $css; ?>" rel="stylesheet" /> | |
<?php endforeach; ?> | |
<div class="application-placeholder">Loading application.</div> |
#!/usr/bin/env bash | |
DRUSH=`which drush` | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
SITE_UUID="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" | |
SITE_NAME="Marketplace" | |
DRUPAL_PROFILE="minimal" | |
DRUPAL_DB="marketplace" | |
if [ $HOSTNAME = "$SITE_NAME" ]; then |
<?php | |
/** | |
* Copyright 2011 Bas de Nooijer. All rights reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions are met: | |
* | |
* 1. Redistributions of source code must retain the above copyright notice, | |
* this list of conditions and the following disclaimer. | |
* |