Категория | title | url |
---|---|---|
Drupal на русском | Сообщество DrupalSN | http://drupalsn.ru/rss.xml |
Drupal на русском | ru_drupal @ livejournal.com | http://ru-drupal.livejournal.com/data/rss |
Drupal на русском | Drupal {создание сообществ} | http://cmspress.info/rss.xml |
Drupal на русском | Блог Константина Комелина | http://komelin.com/taxonomy/term/4/0/feed |
Drupal на русском | Блог музиц |
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
/** | |
* Implements hook_field_info(). | |
*/ | |
function comment_field_info() { | |
return array( | |
'comment' => array( | |
'label' => t('Comments'), | |
'description' => t('This field manages configuration and presentation of comments on an entity'), | |
'settings' => array( | |
'comment' => COMMENT_OPEN, |
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 | |
* Contains \Drupal\comment\Plugin\field\widget\CommentWidget. | |
*/ | |
namespace Drupal\comment\Plugin\field\widget; | |
use Drupal\Core\Annotation\Plugin; |
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 | |
/** | |
* Adds comment fields for all node types. | |
* | |
* Field instance settings "comment_default_mode", "comment_default_per_page" | |
* and "comment_form_location" are preserved to allow migrate contrib modules. | |
*/ | |
function comment_update_8006(&$sandbox) { | |
// Loop over defined node_types. | |
$node_types = array_keys(_update_7000_node_get_types()); |
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
### Must-have | |
add critical for drillability (needs issue) | |
properly use suggestions | |
remove process layer | |
trans and format plural block | |
secure theme system | |
### Nice to have (or Drupal 9) |
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
diff --git a/css/rocketship.main.css b/css/rocketship.main.css | |
new file mode 100644 | |
index 0000000..a6d4085 | |
--- /dev/null | |
+++ b/css/rocketship.main.css | |
@@ -0,0 +1,12 @@ | |
+.node-rocketship-issue .field-type-taxonomy-term-reference { | |
+ display: inline-block; | |
+ margin: 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
diff --git a/core/modules/comment/comment.module b/core/modules/comment/comment.module | |
index 51f3509..613d6c6 100644 | |
--- a/core/modules/comment/comment.module | |
+++ b/core/modules/comment/comment.module | |
@@ -123,10 +123,12 @@ function comment_help($path, $arg) { | |
*/ | |
function comment_entity_bundle_info() { | |
$bundles = array(); | |
- foreach (Drupal::service('comment.manager')->getFields() as $field_name => $field_info) { | |
- $bundles['comment'][$field_name] = array( |
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
diff --git a/composer.json b/composer.json | |
index 901e0fb..67fdab8 100644 | |
--- a/composer.json | |
+++ b/composer.json | |
@@ -23,7 +23,7 @@ | |
], | |
"merge-plugin": { | |
"include": [ | |
- "core/composer.json" | |
+ "core/composer.json", "modules/*/composer.json" |
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
diff --git a/composer.json b/composer.json | |
index 901e0fb..67fdab8 100644 | |
--- a/composer.json | |
+++ b/composer.json | |
@@ -23,7 +23,7 @@ | |
], | |
"merge-plugin": { | |
"include": [ | |
- "core/composer.json" | |
+ "core/composer.json", "modules/contrib/*/composer.json" |
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
<select name="context" class="form-select is-default" id="edit-context"> | |
<option value="all" selected="selected">Все</option> | |
<option value="none">No context</option> | |
<option value="a ColiPoste SoColissimo flexibility rate relative to a shipping service"> | |
a ColiPoste SoColissimo flexibility rate relative to a shipping service | |
</option> | |
<option value="a domain">a domain</option> | |
<option value="a drupal commerce card on file">a drupal commerce card on | |
file | |
</option> |