Home
last modified time | relevance | path

Searched refs:comment_type (Results 1 – 25 of 280) sorted by relevance

12345678910>>...12

/dports/www/drupal8/drupal-8.9.20/core/modules/comment/src/
H A DCommentTypeForm.php83 $comment_type = $this->entity;
89 '#default_value' => $comment_type->label(),
94 '#default_value' => $comment_type->id(),
99 '#disabled' => !$comment_type->isNew(),
104 '#default_value' => $comment_type->getDescription(),
109 if ($comment_type->isNew()) {
120 '#default_value' => $comment_type->getTargetEntityTypeId(),
146 'bundle' => $comment_type->id(),
167 $comment_type = $this->entity;
168 $status = $comment_type->save();
[all …]
/dports/www/drupal9/drupal-9.2.10/core/modules/comment/src/
H A DCommentTypeForm.php75 $comment_type = $this->entity;
81 '#default_value' => $comment_type->label(),
86 '#default_value' => $comment_type->id(),
91 '#disabled' => !$comment_type->isNew(),
96 '#default_value' => $comment_type->getDescription(),
101 if ($comment_type->isNew()) {
115 '#default_value' => $comment_type->getTargetEntityTypeId(),
141 'bundle' => $comment_type->id(),
175 $comment_type = $this->entity;
176 $status = $comment_type->save();
[all …]
/dports/www/drupal8/drupal-8.9.20/core/modules/comment/
H A Dcomment.routing.yml104 entity.comment_type.collection:
107 _entity_list: 'comment_type'
114 entity.comment_type.delete_form:
117 _entity_form: 'comment_type.delete'
120 _entity_access: 'comment_type.delete'
124 entity.comment_type.add_form:
127 _entity_form: 'comment_type.add'
134 entity.comment_type.edit_form:
135 path: '/admin/structure/comment/manage/{comment_type}'
137 _entity_form: 'comment_type.edit'
[all …]
/dports/www/drupal9/drupal-9.2.10/core/modules/comment/
H A Dcomment.routing.yml104 entity.comment_type.collection:
107 _entity_list: 'comment_type'
114 entity.comment_type.delete_form:
117 _entity_form: 'comment_type.delete'
120 _entity_access: 'comment_type.delete'
124 entity.comment_type.add_form:
127 _entity_form: 'comment_type.add'
134 entity.comment_type.edit_form:
135 path: '/admin/structure/comment/manage/{comment_type}'
137 _entity_form: 'comment_type.edit'
[all …]
/dports/www/drupal8/drupal-8.9.20/core/modules/migrate/tests/src/Kernel/
H A DNodeCommentCombinationTrait.php24 * @param string $comment_type
28 protected function createNodeCommentCombination($node_type, $comment_type = NULL) { argument
31 if (!$comment_type) {
32 $comment_type = "comment_node_$node_type";
40 'id' => $comment_type,
/dports/www/drupal8/drupal-8.9.20/core/modules/comment/tests/src/Functional/
H A DCommentTypeTest.php61 $comment_type = CommentType::load('other');
62 $this->assertInstanceOf(CommentType::class, $comment_type);
79 $comment_type = CommentType::load('foo');
80 $this->assertInstanceOf(CommentType::class, $comment_type);
84 $this->assertEqual($comment_type->language()->getId(), $default_langcode);
94 $comment_type = CommentType::load('foo');
95 $this->assertEqual($comment_type->getTargetEntityTypeId(), 'node');
/dports/www/drupal9/drupal-9.2.10/core/modules/comment/tests/src/Functional/
H A DCommentTypeTest.php61 $comment_type = CommentType::load('other');
62 $this->assertInstanceOf(CommentType::class, $comment_type);
80 $comment_type = CommentType::load('foo');
81 $this->assertInstanceOf(CommentType::class, $comment_type);
85 $this->assertEquals($default_langcode, $comment_type->language()->getId());
95 $comment_type = CommentType::load('foo');
96 $this->assertEquals('node', $comment_type->getTargetEntityTypeId());
/dports/lang/parrot/parrot-8.1.0/lib/Parrot/Configure/
H A DCompiler.pm48 comment_type => '#',
51 comment_type => '/*',
54 comment_type => '/*',
57 comment_type => '#',
60 comment_type => '#',
452 unless ( exists $options{comment_type} ) {
453 $options{comment_type} =
454 $file_types_info{$options{file_type}}{comment_type};
462 if ( $options{comment_type} ) {
467 if ( $options{comment_type} eq '#' ) {
[all …]
/dports/math/octave/octave-6.4.0/libinterp/parse-tree/
H A Dcomment-list.h48 enum comment_type enum
58 comment_elt (const std::string& s = "", comment_type t = unknown)
77 comment_type type (void) const { return m_type; } in type()
93 comment_type m_type;
107 comment_elt::comment_type t = comment_elt::unknown)
/dports/chinese/wordpress-zh_CN/wordpress/wp-admin/includes/
H A Dclass-wp-comments-list-table.php84 * @global string $comment_type
88 global $mode, $post_id, $comment_status, $comment_type, $search;
150 'type' => $comment_type,
233 * @global string $comment_type
236 global $post_id, $comment_status, $comment_type;
291 if ( ! empty( $comment_type ) && 'all' !== $comment_type ) {
393 * @global string $comment_type
398 global $comment_status, $comment_type;
410 $this->comment_type_dropdown( $comment_type );
495 protected function comment_type_dropdown( $comment_type ) { argument
[all …]
/dports/chinese/wordpress-zh_TW/wordpress/wp-admin/includes/
H A Dclass-wp-comments-list-table.php84 * @global string $comment_type
88 global $mode, $post_id, $comment_status, $comment_type, $search;
150 'type' => $comment_type,
233 * @global string $comment_type
236 global $post_id, $comment_status, $comment_type;
291 if ( ! empty( $comment_type ) && 'all' !== $comment_type ) {
393 * @global string $comment_type
398 global $comment_status, $comment_type;
410 $this->comment_type_dropdown( $comment_type );
495 protected function comment_type_dropdown( $comment_type ) { argument
[all …]
/dports/net-mgmt/nagios/nagios-3.5.1/common/
H A Dcomments.c187 if(this_comment->comment_id == comment_id && this_comment->comment_type == type) in delete_comment()
301 if(temp_comment->comment_type == HOST_COMMENT) in delete_all_host_comments()
322 …if(temp_comment->comment_type == HOST_COMMENT && temp_comment->entry_type == ACKNOWLEDGEMENT_COMME… in delete_host_acknowledgement_comments()
381 delete_comment(temp_comment->comment_type, comment_id); in check_for_expired_comment()
476 …if(host_name == NULL || author == NULL || comment_data == NULL || (comment_type == SERVICE_COMMENT… in add_comment()
486 if(comment_type == SERVICE_COMMENT) { in add_comment()
495 new_comment->comment_type = comment_type; in add_comment()
652 if(temp_comment->comment_type == HOST_COMMENT) in number_of_host_comments()
669 …if(temp_comment->comment_type == SERVICE_COMMENT && !strcmp(temp_comment->service_description, svc… in number_of_service_comments()
728 comment *find_comment(unsigned long comment_id, int comment_type) { in find_comment() argument
[all …]
/dports/net-mgmt/nagios4/nagios-4.4.6/common/
H A Dcomments.c146 if(this_comment->comment_id == comment_id && this_comment->comment_type == type) in delete_comment()
244 if(temp_comment->comment_type == HOST_COMMENT) in delete_all_host_comments()
265 …if(temp_comment->comment_type == HOST_COMMENT && temp_comment->entry_type == ACKNOWLEDGEMENT_COMME… in delete_host_acknowledgement_comments()
324 delete_comment(temp_comment->comment_type, comment_id); in check_for_expired_comment()
419 …if(host_name == NULL || author == NULL || comment_data == NULL || (comment_type == SERVICE_COMMENT… in add_comment()
429 if(comment_type == SERVICE_COMMENT) { in add_comment()
438 new_comment->comment_type = comment_type; in add_comment()
586 if(temp_comment->comment_type == HOST_COMMENT) in number_of_host_comments()
603 …if(temp_comment->comment_type == SERVICE_COMMENT && !strcmp(temp_comment->service_description, svc… in number_of_service_comments()
662 nagios_comment *find_comment(unsigned long comment_id, int comment_type) { in find_comment() argument
[all …]
/dports/www/drupal8/drupal-8.9.20/core/modules/comment/tests/src/Kernel/Migrate/d7/
H A DMigrateCommentFieldTest.php33 * @param string $comment_type
36 protected function assertEntity($comment_type) { argument
37 $entity = FieldStorageConfig::load('node.' . $comment_type);
41 $this->assertSame($comment_type, $entity->getSetting('comment_type'));
/dports/www/drupal9/drupal-9.2.10/core/modules/comment/tests/src/Kernel/Migrate/d7/
H A DMigrateCommentFieldTest.php33 * @param string $comment_type
36 protected function assertEntity($comment_type) { argument
37 $entity = FieldStorageConfig::load('node.' . $comment_type);
41 $this->assertSame($comment_type, $entity->getSetting('comment_type'));
/dports/www/drupal8/drupal-8.9.20/core/modules/comment/tests/src/Kernel/Migrate/d6/
H A DMigrateCommentFieldTest.php36 * @param string $comment_type
39 protected function assertEntity($comment_type) { argument
40 $entity = FieldStorageConfig::load('node.' . $comment_type);
44 $this->assertSame($comment_type, $entity->getSetting('comment_type'));
/dports/www/drupal9/drupal-9.2.10/core/modules/comment/tests/src/Kernel/Migrate/d6/
H A DMigrateCommentFieldTest.php36 * @param string $comment_type
39 protected function assertEntity($comment_type) { argument
40 $entity = FieldStorageConfig::load('node.' . $comment_type);
44 $this->assertSame($comment_type, $entity->getSetting('comment_type'));
/dports/misc/sloccount/sloccount-2.26/
H A Dc_count.c93 int comment_type = ANSIC_STYLE; /* ANSIC_STYLE or CPP_STYLE */ in sloc_count() local
113 comment_type = ANSIC_STYLE; in sloc_count()
117 comment_type = CPP_STYLE; in sloc_count()
136 if ((c == '\n') && (comment_type == CPP_STYLE)) { mode = NORMAL;} in sloc_count()
137 if ((comment_type == ANSIC_STYLE) && (c == '*') && in sloc_count()
148 if ((mode == INCOMMENT) && (comment_type == CPP_STYLE)) { mode = NORMAL;} in sloc_count()
H A Dphp_count.c151 enum comment_t comment_type; /* ANSIC_STYLE, CPP_STYLE, SH_STYLE */ in sloc_count() local
202 comment_type = ANSIC_STYLE; in sloc_count()
205 comment_type = CPP_STYLE; in sloc_count()
208 comment_type = SH_STYLE; in sloc_count()
236 if ((comment_type == ANSIC_STYLE) && match_consume("*/", stream)) { in sloc_count()
244 else if ( ((comment_type == CPP_STYLE) || (comment_type == SH_STYLE)) && in sloc_count()
/dports/audio/ampache/ampache-php74-5.0.0/vendor/james-heinrich/getid3/getid3/
H A Dmodule.misc.cue.php151 $comment_type = (isset($explodedline[1]) ? $explodedline[1] : '');
153 if (($comment_REM == 'REM') && $comment_type) {
154 $comment_type = strtolower($comment_type);
157 $this->cuesheet['tracks'][$track_on]['comments'][$comment_type][] = $comment_data;
159 $this->cuesheet['comments'][$comment_type][] = $comment_data;
/dports/www/ilias/ILIAS-5.4.25/libs/composer/vendor/james-heinrich/getid3/getid3/
H A Dmodule.misc.cue.php137 $comment_type = (isset($explodedline[1]) ? $explodedline[1] : '');
139 if (($comment_REM == 'REM') && $comment_type) {
140 $comment_type = strtolower($comment_type);
143 $this->cuesheet['tracks'][$track_on]['comments'][$comment_type][] = $comment_data;
145 $this->cuesheet['comments'][$comment_type][] = $comment_data;
/dports/devel/py-vsts/vsts-0.1.25/vsts/git/v4_0/models/
H A Dcomment.py53 …def __init__(self, _links=None, author=None, comment_type=None, content=None, id=None, is_deleted=… argument
57 self.comment_type = comment_type
/dports/devel/py-vsts/vsts-0.1.25/vsts/git/v4_1/models/
H A Dcomment.py53 …def __init__(self, _links=None, author=None, comment_type=None, content=None, id=None, is_deleted=… argument
57 self.comment_type = comment_type
/dports/www/drupal9/drupal-9.2.10/core/modules/comment/migrations/
H A Dd7_comment_type.yml7 plugin: comment_type
29 entity_type: comment_type
40 plugin: entity:comment_type
H A Dd6_comment_type.yml7 plugin: comment_type
29 entity_type: comment_type
40 plugin: entity:comment_type

12345678910>>...12